[Twisted-Python] plugin vs. dropin

Tommi Virtanen tv at tv.debian.net
Fri Nov 28 07:09:14 MST 2003


Phil Christensen wrote:
>>>>from twisted.python import plugin
>>>>plugin.getPlugIns("myPluginType")
> 
> [<Plugin 'My plugin package' core.plugin>]
> 
> so i guess my question is, what to i do with this plugin object? i see it
> has a property named "module", which is the string i gave it of
> "core.plugin". this file doesn't exist yet since i don't know what to put
> in it.
> 
> i guess i just need a little more guidance. i'm looking through the code
> too, but i'm not sure what calls what...

You may want to look at how TouRSSt uses plugins.
http://ftp.debian.org/debian/pool/main/t/toursst/





More information about the Twisted-Python mailing list