get registry information in python

James J. Besemer jb at cascade-sys.com
Thu Aug 15 13:49:58 CEST 2002


Matt Gerrans wrote:

> > The number of entries can be retrieved via RegQueryInfoKey( key ).
>
> Ah ha -- I was in the habit of iterating through a range with EnumKey()
> until an exception occurred.

Forgot to point out -- RegQueryInfoKey() returns both the number of Keys
and the number of Values.

Regards

--jb

--
James J. Besemer  503-280-0838 voice
http://cascade-sys.com  503-280-0375 fax
mailto:jb at cascade-sys.com






More information about the Python-list mailing list