[Twisted-Python] Please help: having problems with the simplest Twisted Server/Client Demo Example from the Tutorial

Itamar Shtull-Trauring itamar at itamarst.org
Sat Dec 8 20:27:18 EST 2007


1. Certain Python prompts (e.g. idle) may not work well with Twisted.
Better to run the program directly:

python.exe myscript.py

2. Might want to start a log:

from twisted.python import log
log.startLogging(sys.stderr)

3. Might want to flush when writing to stdout().

At first glance, however, your code looks fine.





More information about the Twisted-Python mailing list