On 2014-08-29 21:02, Filippo Dal Bosco - wrote:
tentando questo con python 2.7 mi dice  file non trovato

hKey = _winreg.OpenKey (_winreg.HKEY_CLASSES_ROOT,
r"C:\WINDOWS\system32\notepad.exe\CLSID")

sbaglio a scrivere r"C:\WINDOWS\system32\notepad.exe\CLSID" ( il file
esiste !!)

o semplicemente cerco di fare una cosa  assurda?

Cerchi di fare una cosa assurda. Il secondo argomento รจ una chiave del registry, non un file.

-- Daniele
_______________________________________________
Python mailing list
Python@lists.python.it
http://lists.python.it/mailman/listinfo/python

Rispondere a