[Twisted-Python] Batch file errors in Windows distribution (0.99.4)

Andy Robinson andy at reportlab.com
Tue Oct 15 16:56:40 EDT 2002

> Hmm, that's weird.  It ought to be able to determine that from 
> sys.argv[0],
No, use sys.executable just like on Unix.

I think he's right about Progra~1 working, but that
doesn't mean we have to use it :-)

Python 2.2.1 (#34, Apr  9 2002, 19:34:33) [MSC 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.argv[0]
>>> sys.executable

- Andy Robinson

More information about the Twisted-Python mailing list