[Twisted-web] some questions about twisted.web

Jack Moffitt jack at chesspark.com
Tue Apr 7 18:54:40 EDT 2009


> from twisted.scripts.twistd import run
> sys.argv[1:] = ["pluginname", "-whatever"]
> run()
>
> It's decidedly a hack, but it works and relies only on public APIs, so
> it's tolerable until we get a better API.

That sounds like the best bet for now.  If I get some time perhaps
I'll do this for Tape and then write it up so others in a similar
situation can get a little guidance.  It will make for a reasonable
second plugin tutorial as well.

jack.



More information about the Twisted-web mailing list