[Twisted-web] nevow tutorial

Luc Saffre luc.saffre at gmx.net
Mon Nov 22 06:54:23 MST 2004


Hello,

I stepped over the following great document:

   http://nevow.com/Nevow2004Tutorial.html

I think this document deserves to be more visible! Currently there is no 
link to it from http://nevow.com...

OTOH I have a problem: the examples don't work, appearently for a silly 
reason. When I start "twistd -ny EXAMPLE.tac" for any of them, I get an 
ImportError for those modules which are in the same directory (iCal, 
schedule,...).

If I start a Python shell, I can manually import these modules. It looks 
as if twistd removes "." from PYTHON_PATH, or chdirs to some other 
directory.

This happens on my machine with Python 2.3.4 and Twisted 1.2.0 on Win32

Any ideas?

Luc




More information about the Twisted-web mailing list