Python and Lotus Notes



I would like to interact with Lotus Notes. I wrote following:
then, following exception come out:
Traceback (most recent call last):
File "<interactive input>", line 1, in ?
File "C:\Python24\Lib\site-packages\win32com\client\", line
98, in Dispatch
IDispatch, userName =
File "C:\Python24\Lib\site-packages\win32com\client\", line
91, in _GetGoodDispatchAndUserName
return (_GetGoodDispatch(IDispatch, clsctx), userName)
File "C:\Python24\Lib\site-packages\win32com\client\", line
79, in _GetGoodDispatch
IDispatch = pythoncom.CoCreateInstance(IDispatch, None, clsctx,
com_error: (-2147221005, 'Invalid class string', None, None)

I searched google, above code lines should be ok, but really don't know
how the exception come out. Could this be resolved? Thanks.


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question