Toff wrote:
hello
I don't understand why this doesn't woks.
def setwins(self):
from win32com.client import GetObject
objWMIService = GetObject("winmgmts:
{impersonationLevel=impersonate}!.\\root\\cimv2")
colNicConfigs = objWMIService.ExecQuery ("SELECT * FROM
Win32_N
hello
I don't understand why this doesn't woks.
def setwins(self):
from win32com.client import GetObject
objWMIService = GetObject("winmgmts:
{impersonationLevel=impersonate}!.\\root\\cimv2")
colNicConfigs = objWMIService.ExecQuery ("SELECT * FROM
Win32_NetworkAdapterC
In article ,
Toff wrote:
>
>I don't understand why this doesn't woks.
In what way is it not working? BTW, you should look up "raw strings".
See also http://www.catb.org/~esr/faqs/smart-questions.html
--
Aahz (a...@pythoncraft.com) <*> http://www.pythoncraft.com/
Why is this