It is way past time that the pywin32 exception objects grew attributes
instead of only being available via indexing. In other words, instead of
writing:
except win32api.error, exc:
if exc[0] == ERROR_CODE: ...
you can say:
except win32api.error, exc:
if exc.winerror == ERROR_CODE: .
Hi,
is someone among you guys out there familier with this kind of error message or
rather knows the cause and the solution?:
" File "F:\2_4_2\lib\site-packages\win32com\client\dynamic.py", line 78, in
_GetGoodDispatch
pywintypes.com_error: (-2147221008, 'CoInitialize not found.', None, None)