Example #1
0
 def get_3rd_party_funcs(self):
     other_funcs = []
     from spyderlib.otherplugins import get_spyderplugins_mods
     for mod in get_spyderplugins_mods(prefix='io_', extension='.py'):
         try:
             other_funcs.append((mod.FORMAT_EXT, mod.FORMAT_NAME,
                                 mod.FORMAT_LOAD, mod.FORMAT_SAVE))
         except AttributeError, error:
             print >>STDERR, "%s: %s" % (mod, str(error))
Example #2
0
    def get_3rd_party_funcs(self):
        other_funcs = []
        from spyderlib.otherplugins import get_spyderplugins_mods

        for mod in get_spyderplugins_mods(prefix="io_", extension=".py"):
            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
Example #3
0
 def get_3rd_party_funcs(self):
     other_funcs = []
     from spyderlib.otherplugins import get_spyderplugins_mods
     for mod in get_spyderplugins_mods(prefix='io_', extension='.py'):
         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