Toon Pieton schrieb:
> 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?

See here for some examples of using the windows registry:

http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/146305
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/66011
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/473846

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

See for example the function '_get_reg_value' in the third recipe listed above.

Chris
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to