plugin system

Miki Tebeka tebeka at cs.bgu.ac.il
Wed Apr 30 08:40:29 EDT 2003


Hello xam,

> I am interested in writing a plugin system where the main app is python but
> it is capable of accepting helper "plugins" which can be either python or
> C++. I guess I want some sort of an interface spec for the plugins that can
> be implemented in either language. Which technologies should I research? Are
> there other projects that I can refer to as a model -
You can just use __import__ to load new modules and use them.
Make you C++ modules compatible with Python C API (use boost.python
http://www.boost.org/libs/python/doc/index.html)

HTH.
Miki




More information about the Python-list mailing list