code: def open_external(self, fnames=None):
          
          if fnames is None:
              fnames = self.get_selected_filenames()
          for fname in fnames:
              self.open_outside_spyder([fname])
docs: Open files with default application