How would I loop through all the values of a Windows Registry Key using the Python module _winreg. I have code that will do what I want, but it is
Shouldn't EnumValue be of help here
# list all values for a key try: count = 0 while 1: name, value, type = _winreg.EnumValue(t, count) print repr(name), count = count + 1 except WindowsError: pass