Python Path registry Key

Sathish S sathish at solitontech.com
Fri Feb 18 07:26:09 CET 2011


Hi Ppl,

I'm trying to launch IDLE from another application. For this I need the
python directory path. I have been trying to get the Active Python versions
path from the Windows registry. However, these registry entries seem not be
consistent across various stations, that i checked. I'm reading the
following resitry key to get the active versions path:
Software\\Microsoft\\Windows\\CurrentVersion\\App Paths\\Python.exe. There
are two entries in this key. Some stations have only one entry. Some do not
have both. Probably they were removed while python was uninstall ed and was
not added again when it was installed again.

So what will be a good solution to get the Python path ?


Thanks,
Sathish
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20110218/2bac3c84/attachment.html>


More information about the Python-list mailing list