[pygtk] pygtk Digest, Vol 106, Issue 10
Mauro Faccin
mauro.faccin at know-how.it
Wed Dec 14 17:47:25 WST 2011
HI,
I found a problem reading register key on windows 7.
My python application works fine in windows XP and in some win7 machines.
I use a simple procedure, as the following one:
>>> import _winreg
>>> h1 = _winreg.ConnectRegistry(None, _winreg.HKEY_LOCAL_MACHINE)
>>> key = r'SOFTWARE\Python\PythonCore\2.6\InstallPath'
>>> h2 = _winreg.OpenKey(h1, key, 0, _winreg.KEY_ALL_ACCESS)
It returns "Access Denied" and I suppose the problem is the user
configuration.
Does someone know which settings of UAC (User Access Control) I have to
change?
Thanks!
Mauro
-------------- parte successiva --------------
Un allegato HTML ? stato rimosso...
URL: <http://www.daa.com.au/pipermail/pygtk/attachments/20111214/6aa3b33b/attachment.html>
More information about the pygtk
mailing list