win32api question

tony roth roth at teleport.com
Wed Dec 15 10:30:34 EST 1999


I do the following

import win32api
import win32con
rk=win32api.RegConnectRegistry('blmw2ktr',win32con.HKEY_LOCAL_MACHINE)
test=win32api.RegQueryValueEx(rk,"software")

and I receive the following error

Traceback (innermost last):
  File "<interactive input>", line 1, in ?
api_error: (2, 'RegQueryValueEx', 'The system cannot find the file
specified.')

I'm a python newbie and I'm not  sure whats wrong any advice would be
appreciated
thanks
tr





More information about the Python-list mailing list