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
else:
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 = Key(HKL
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,r"SYSTEM\CurrentControlSet\Services\Tcpip\Enum")
for i in key.val