[Twisted-Python] Question regarding widgets

Moshe Zadka twisted at moshez.org
Tue Nov 5 23:54:10 EST 2002


On Tue, 05 Nov 2002, Alex <spam at polynode.com> wrote:

> If you're building an app in c:\webapp, and you run twistd from that 
> directory, then 'c:\webapp' should be part of sys.path.  The reason for 
> this is that '.' is part of sys.path, and if you're running twistd in 
> c:\webapp, then '.' == 'c:\webapp'.

That's not correct, "." is never on your path (that'd be a serious security
whole). The directory in which the script you run is on your path.




More information about the Twisted-Python mailing list