get registry information in python

James J. Besemer jb at cascade-sys.com
Thu Aug 15 07:15:14 EDT 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.

THat works.  May even be faster.  I dunno.  Exception vs. Win OS call?

--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