Plugin mechanism

25/10/2009 - 11:07 von Henning Bredel | Report spam
Can s/o point me to some tutorials or sites showing
how to implement a plugin mechanism in Python?

That would be great.

Henning
 

Lesen sie die antworten

#1 Henning Bredel
25/10/2009 - 11:19 | Warnen spam
On Sun, 25 Oct 2009 10:07:25 +0000, Henning Bredel wrote:

Can s/o point me to some tutorials or sites showing how to implement a
plugin mechanism in Python?



Hmm, .. after some more googling tries (I've done some before of course)
it seems, that I had more luck :-).

Look here:

http://pytute.blogspot.com/2007/04/...ystem.html

Quite simple. I had done it until the last step (some small things I've
done differently though, e.g. loading the plugin directly via imp module).
To ask the developer implementing a custom register() method would not be
that problem I guess ;-).

Thanks

Henning

Ähnliche fragen