On Fri, Jul 6, 2012 at 7:00 PM, Amaury Forgeot d'Arc <[email protected]>wrote:

> 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
>

Thanks. But does not help still. I am getting the same com error.
_______________________________________________
python-win32 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to