예제 #1
0
파일: iofuncs.py 프로젝트: 0xBADCA7/spyder
 def get_3rd_party_funcs(self):
     other_funcs = []
     from spyder.otherplugins import get_spyderplugins_mods
     for mod in get_spyderplugins_mods(io=True):
         try:
             other_funcs.append((mod.FORMAT_EXT, mod.FORMAT_NAME,
                                 mod.FORMAT_LOAD, mod.FORMAT_SAVE))
         except AttributeError as error:
             print("%s: %s" % (mod, str(error)), file=STDERR)
     return other_funcs
예제 #2
0
 def get_3rd_party_funcs(self):
     other_funcs = []
     from spyder.otherplugins import get_spyderplugins_mods
     for mod in get_spyderplugins_mods(io=True):
         try:
             other_funcs.append((mod.FORMAT_EXT, mod.FORMAT_NAME,
                                 mod.FORMAT_LOAD, mod.FORMAT_SAVE))
         except AttributeError as error:
             print("%s: %s" % (mod, str(error)), file=STDERR)
     return other_funcs