On Fri, Jul 6, 2012 at 7:00 PM, Amaury Forgeot d'Arc <amaur...@gmail.com>wrote:
> 2012/7/6 prashant padaganur <prashantpadaga...@gmail.com>: > > 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 python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32