def load_plugins(classprefix, plugin_list):
<EOL>plugins = []<EOL>import_object = {}<EOL>for plugin in plugin_list:<EOL><INDENT>if cygwin:<EOL><INDENT>plugin = path_into_cygpath(plugin)<EOL><DEDENT>try:<EOL><INDENT>import_object[plugin] = __import__(<EOL>classprefix + "<STR_LIT:.>" + plugin, globals(), locals(), [plugin], -<NUM_LIT:1>)<EOL>load_module = "<STR_LIT>".format(plugin, plugin)<EOL>exec(load_module)<EOL>plugins.append(cls)<EOL><DEDENT>except Exception as e:<EOL><INDENT>Console.error("<STR_LIT>".format(str(plugin), str(classprefix)))<EOL>Console.error(<NUM_LIT> * "<STR_LIT:=>")<EOL>print(e)<EOL>Console.error(<NUM_LIT> * "<STR_LIT:=>")<EOL>print(traceback.format_exc())<EOL>Console.error(<NUM_LIT> * "<STR_LIT:->")<EOL>print(sys.exc_info()[<NUM_LIT:0>])<EOL>Console.error(<NUM_LIT> * "<STR_LIT:->")<EOL><DEDENT><DEDENT>return plugins<EOL>
loads the plugins specified in the list
:param classprefix: the class prefix
:param plugin_list: the list of plugins