[Tutor] winreg question

Toon Pieton pytutmail at gmail.com
Fri Dec 22 21:27:25 CET 2006


Hey friendly users!

I'm trying to connect to a certain key in my registery using winreg.
However, I have run into some problems.

1) I'm trying to open HKEY_CURRENT_USER\Softwar\PartyGaming\PartyPoker. Is
this (see below) the correct way to open that key?
from winreg import *

PartyPoker = Key(
    HKCU,
    "Software\\PartyGaming\\PartyPoker"
    )

2) From this set of keys just opened, I want to get the data stored under
one called AppPath. How do I do that?

Thanks in advance!
Toon Pieton
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20061222/216a9b33/attachment.htm 


More information about the Tutor mailing list