2012/7/6 prashant padaganur <[email protected]>:
> c = wmi.WMI("WinMgmts:\root\Microsoft\HomeNet")

The \r is a special sequence, interpreted as a "carriage return" character.
You should use a raw string:
r"WinMgmts:\root\Microsoft\HomeNet"

-- 
Amaury Forgeot d'Arc
_______________________________________________
python-win32 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to