[python-win32] Path to the service script

Mark Hammond mhammond at skippinet.com.au
Sun Nov 23 21:30:51 EST 2003


> I've noticed that the path to the service script is the last
> element in
> sys.path i.e. sys.path[-1] and not sys.path[0].
>
> Is this deliberate and can I rely on this?

No, and No :)  It should probably be first.  Further, in a py2exe built
service the only entry on sys.path will be the .zip file.

Mark.




More information about the Python-win32 mailing list