Python capability do like plugins ?

Alex Martelli aleaxit at
Mon Oct 18 12:47:44 CEST 2004

Leon <square690410 at> wrote:

> example :
> /home/test/plugins
> main program can dynamic import plugins directory's files....not normal
> ¡uimport¡v
> like winamp 

The main program can insert the plugins directory into sys.path and
import at will (e.g with __import__) or do it with the imp module or in
several other ways.  There's a number of recipes in the cookbook...


More information about the Python-list mailing list