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))
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
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