A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2006-March/062470.html below:

[Python-Dev] towards a stricter definition of sys.executable

[Python-Dev] towards a stricter definition of sys.executable [Python-Dev] towards a stricter definition of sys.executableUlrich Berning ulrich.berning at t-online.de
Thu Mar 16 21:38:50 CET 2006
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
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4