コード例 #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