extract python install info from registry

Peter Hansen peter at engcorp.com
Wed Dec 7 02:20:39 CET 2005

rbt wrote:
> I'm creating a Python plugin for Bartpe (Windows Pre-Install 
> Environment) and it works OK, but to make it work _exactly_ like it does 
> on XP (.py and .pyw associate with python and pythonw), I need to 
> extract the reg entries so I can recreate them in the WinPE environment.

If it's just a matter of creating those associations, I believe you can 
do that equally well using the "ftype" and "assoc" console commands, via 
os.system() or something similar.


More information about the Python-list mailing list