I am working on a plugin system where plugin modules are loaded like this:
def load_plugins(): plugins=glob.glob(\"plugins/*.py\") instances=[] for
The problem here is with the dot ('.') in the module name:
imp.load_module('plugins.'+name, f, file, desc)
Don't include a '.' after 'plugins', or Python will think it's a module path.