HI all, i found winreg module from
http://www.rutherfurd.net/python/winreg/index.html
very useful and simple, instead _winreg.
But i have a problem with this module, in its iterable part.
look at the following code
key = Key(HKLM,rSYSTEM\CurrentControlSet\Services\Tcpip\Enum)
for i in
On Apr 19, 6:20 am, hellt [EMAIL PROTECTED] wrote:
HI all, i found winreg module
fromhttp://www.rutherfurd.net/python/winreg/index.html
very useful and simple, instead _winreg.
But i have a problem with this module, in its iterable part.
look at the following code
key =
Sorry, the above post is not complete. This is the rest:
# There should be a for or a while loop around here
try:
name = _winreg.EnumValue(key, index)
except EnvironmentError:
# It raises WindowsError, but the _winreg documentation
# recommends catching EnvironmentError
break