[Twisted-web] How to do create a very simple tac file ?
duncan.mcgreggor at gmail.com
Thu Jul 14 09:27:51 EDT 2011
On Thu, Jul 14, 2011 at 7:05 AM, Thorne, Stephen <stephen at thorne.id.au> wrote:
> On Thu, Jul 14, 2011 at 13:50, Ivan <bdfy at mail.ru> wrote:
>> I have a very simple example:
>> from twisted.internet import protocol, utils, reactor
>> def start():
> I put together an example of how to create a 'complete' example
> application using twisted plugins (which are also run with 'twistd'
> but allow things like command line arguments) a few weeks ago.
> repo is here: https://bitbucket.org/jerub/twisted-plugin-example
> It shows how to do things in 'Service.startService', this approach
> would map to using a .tac file as well, with some munging.
I gotta second this. This is the best example of Twisted plugins I've
seen yet. I know I'll regret saying this, but it's foolproof.
More information about the Twisted-web