PDA

View Full Version : Find path to python install folder on windows



cwaldbieser
July 31st, 2009, 10:18 PM
I seem to recall there is a function that will return the path to the python installation folder on windows, but I can't remember what it is. Can anyone help me out?

Thanks.

smartbei
August 1st, 2009, 08:39 AM
I haven't heard of this, but I think you can read it from the registry. It should be in HKLM\Software\Python\... or something like that. You can open up regedit and check. (I would give a more complete answer but I am not on windows)