In Defense of Taps (was Re: [Twisted-Python] where to begin)
twisted at moshez.org
Tue Feb 11 06:16:53 EST 2003
On 11 Feb 2003, William Dode <wilk-ml at flibuste.net> wrote:
> So, is there an example of a web server without using tap and twistd
> command line ?
from twisted.web import server, static
from twisted.internet import reactor
root = static.Data("hello world", "text/plain")
# root.putChild('name-of-my-script', myScriptResource)
site = server.Site(root)
> I would like to make a web server that could be embed in an .exe with
No, you wouldn't.
Moshe Zadka -- http://moshez.org/
Buffy: I don't like you hanging out with someone that... short.
Riley: Yeah, a lot of young people nowadays are experimenting with shortness.
More information about the Twisted-Python