Re: Detecting Python Installs from the Windows Registry

2006-01-10 Thread Fuzzyman
Great, I'll work with this. Thanks Fuzzyman http://www.voidspace.org.uk/python/index.shtml -- http://mail.python.org/mailman/listinfo/python-list

Re: Detecting Python Installs from the Windows Registry

2006-01-09 Thread Ziga Seilnacht
Fuzzyman wrote: > Does anyone know how to use _winreg to get path information (location > of install) for all versions of Python installed (and also which is the > most recent) ? This should probably work: import _winreg def get_subkey_names(reg_key): index = 0 L = [] while True:

Detecting Python Installs from the Windows Registry

2006-01-07 Thread Fuzzyman
Hello all, I'm creating a py2exe program (for Windows) that needs to detect all version of Python installed on the machine. Because it is running under py2exe it doesn't have access to the Python environment variables. Does anyone know how to use _winreg to get path information (location of inst