windows script host and python
Don Dwiggins
dwig at advancedmp.net
Tue Mar 20 16:42:46 EST 2001
Alex Martelli writes:
>> Actually, it fails on my NT workstation also:
> [snip]
>> File "e:\python20\win32com\client\__init__.py", line 87, in Moniker
>> moniker, i, bindCtx = pythoncom.MkParseDisplayName(Pathname)
>> pywintypes.com_error: (-2147221020, 'Invalid syntax', None, None)
> ...but do you have WMI installed? AFAIK, it doesn't come as default
> with either 98 or NT (perhaps 2000 and/or ME -- not sure) -- it has
> to be downloaded from the MS site and installed.
You're right, I don't (and don't really know much about it) -- just out of
curiosity, I snipped the code from the message and tried it out. Oh well,
post in haste, repent at leisure...
--
Don Dwiggins, Beta Version 0.9 -- Release 1.0 due out Real Soon Now
Advanced MP Technology
dwig at advancedmp.net
More information about the Python-list
mailing list