ImportError: No module named win32com.client" error
Trent Mick
trentm at ActiveState.com
Wed May 22 19:15:18 EDT 2002
[Peter F. Ferris wrote]
> Greetings,
>
> Whenever I try:
>
> import win32com.client
>
> I get a "ImportError: No module named win32com.client" error.
>
> This is leading up to the next line of code, which is something like:
>
> SomeSite = win32com.client.Dispatch('CuteFTPPro.TEConnection')
>
> What's up with the "import win32com.client" line? Is this a (3rd party)
> module I need to specifically hand import? If so, how do I do it, and where
> do I find it? If not, what might I be doing wrong?
>
> Running Win2000 with Python 2.2.1c1
>
> All hints & suggestions appreciated!
win32com.client (and indeed "win32com") are part of the PyWin32
extension module. You can get that from here:
http://starship.python.net/crew/mhammond/win32/Downloads.html
Cheers,
Trent
--
Trent Mick
TrentM at ActiveState.com
More information about the Python-list
mailing list