[Twisted-Python] QOTD Plugin Example

Paul Baranowski paul at paulbaranowski.org
Sat Oct 19 16:50:04 EDT 2002

Ah, I guess this is the line that confused me:

"The path of least resistance is probably just to make a directory
inside your Twisted-X.X.X directory, which will already be in your

This isn't true (at least in the windows install).

However, there is a simple fix if you do do this (as I did):  put the
register() call in the plugins.tml file in the site-packages/twisted
directory like so:

register("Quote of the Day TAP Builder",
         Example of a TAP builder module.

instead of in the TwistedQuotes directory. 

Once I did this, everything worked. :)  Yay!

> -----Original Message-----
> From: twisted-python-admin at twistedmatrix.com [mailto:twisted-python-
> admin at twistedmatrix.com] On Behalf Of Moshe Zadka
> Sent: Saturday, October 19, 2002 12:55 PM
> To: twisted-python at twistedmatrix.com
> Subject: Re: [Twisted-Python] QOTD Plugin Example
> Did you add the directory containing the TwistedQuotes directory
> to your PYTHONPATH?

More information about the Twisted-Python mailing list