[python-win32] Registry confusion

Tim Golden tim.golden at viacom-outdoor.co.uk
Wed Apr 14 04:38:38 EDT 2004


>I've been able to read stuff from the registry via Python- but
>
>I dont understand the difference between the Key and SubKey
>
>When should I use QueryValue() vs EnumValue() ?
>
>I'm confused by the python help file for SetValue()
>Does SetValue() actually save the newly written value to disk- or do I
>have
>to re-write the entire registry with SaveFile() ?
>
>
>No matter what I try, I can't get a new value written to the 
>registry- on
>Win98

Initial response -- worked example from the effbot:

http://effbot.org/zone/python-register.htm

TJG


________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________



More information about the Python-win32 mailing list