[Python-Dev] towards a stricter definition of sys.executable
Ulrich Berning
ulrich.berning at t-online.de
Thu Mar 16 21:38:50 CET 2006
More information about the Python-Dev mailing list
Thu Mar 16 21:38:50 CET 2006
- Previous message: [Python-Dev] towards a stricter definition of sys.executable
- Next message: [Python-Dev] towards a stricter definition of sys.executable
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Fredrik Lundh schrieb: >how about this alternative ? (extended (b)). > > d) If Python was started from a standard Python interpreter, > sys.executable contains the full path to this interpreter. If not, > or if the path could not be determined, sys.executable is set to > None. > > Our registration code for Windows services and COM servers and some other specific things rely on the fact, that sys.executable contains the name of the binary, that is actually running (either the full path of python[.exe] or the full path of the frozen application executable), so please don't touch sys.executable. Ulli
- Previous message: [Python-Dev] towards a stricter definition of sys.executable
- Next message: [Python-Dev] towards a stricter definition of sys.executable
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list