get registry information in python

James J. Besemer jb at
Thu Aug 15 13:15:14 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.

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


James J. Besemer  503-280-0838 voice  503-280-0375 fax
mailto:jb at

More information about the Python-list mailing list