How to use plugins..

Goekhan Bakir gb at tuebingen.mpg.de
Fri Feb 27 20:35:24 CET 2004


Hi!
This might be a newbie message but is there some example code to 
write a generic plugin manager? 

Particular problems:

1.)
Assume my package is installed on path x and has a subdirectory named
plugins.
If I import my package I want to scan automatically the plugin
directory.

2.) 
Plugins should follow a common interface,  is there a way to enforce
this?
(Actually I think this might be easy.)



Thanks for any help

gb







More information about the Python-list mailing list