Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Plugin mechanism

0 views
Skip to first unread message

Henning Bredel

unread,
Oct 25, 2009, 6:07:25 AM10/25/09
to
Can s/o point me to some tutorials or sites showing
how to implement a plugin mechanism in Python?

That would be great.

Henning


Henning Bredel

unread,
Oct 25, 2009, 6:19:49 AM10/25/09
to
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/python-plugin-system.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

0 new messages