Win32 Registry Manipulation w/PythonWin?
Syver Enstad
syver-en+usenet at online.no
Mon Jul 29 20:34:12 EDT 2002
Tim Daneliuk <tundra at tundraware.com> writes:
> Syver Enstad wrote:
> > Tim Daneliuk <tundra at tundraware.com> writes:
> >
> >>On a related note, where in the docs are values for KEY_READ,
> >>KEY_WRITE,
> >>
> >>and so forth, defined? I cannot seem to find these...
> > Can't you just do _winreg.KEY_WRITE instead of bothering with the
> > exact values? Or if you really want to know: print _winreg.KEY_WRITE
>
> > in a python console.
> >
>
> It's not really the values I care about - I want to know all the
> possible
>
> names that can go into the sam field...
I use the msdn library for that purpose, with a little help from
dir(_winreg) or just AttributeError's to see if any constants defined in
the win32 api happens to not be available.
--
Vennlig hilsen
Syver Enstad
More information about the Python-list
mailing list