How to write python plug-ins for your own python program?

Simon Wittber simonwittber at
Thu Mar 3 09:33:55 CET 2005

> You mean like 'import'? :)

That's how I would do it. It's the simplest thing, that works.

exec("import %s as plugin" % pluginName)

where pluginName is the name of the python file, minus the ".py" extension.


More information about the Python-list mailing list