ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/ns_dev/Python/learning/registry_test.py
Revision: 591
Committed: Tue Nov 3 22:45:12 2015 UTC (10 years, 4 months ago) by nino.borges
Content type: text/x-python
File size: 300 byte(s)
Log Message:
Moved dir out of main dir.

File Contents

# User Rev Content
1 ninoborges 8 #Registry test
2     #12.10.01
3    
4     import _winreg, sys
5     key = _winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE, "Software\\Python\\PythonCore\\" + sys.winver + "\\PythonPath")
6     #_winreg.QueryValue(key, "") 'f:\\src\python-cvs\\lib;f:\\src\\python-cvs\\pcbuild'
7     _winreg.EnumKey(key, 0)
8     _winreg.EnumKey(key, 1)