Timothy Grant wrote:
On Thu, Oct 2, 2008 at 12:16 PM, Stef Mientki <[EMAIL PROTECTED]> wrote:
hello,
how can I determine the location of the Python installation under winXP /
Linux,
with a Python program ?
thanks,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
This what you're looking for?
([EMAIL PROTECTED]) python
Python 2.5.1 (r251:54863, Jan 17 2008, 19:35:16)
[GCC 4.0.1 (Apple Inc. build 5465)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
import sys
sys.executable
'/System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python'
Yes that might be sufficient.
thanks,
Stef
--
http://mail.python.org/mailman/listinfo/python-list