ImportError: No module named win32api

Mark Nenadov mark at
Wed Oct 9 21:58:02 CEST 2002

eddie wang wrote:

> Hi, I was trying to run a python script from my DOS prompt. I got the
> following error message:
> E:\>
> Traceback (most recent call last):
>   File "E:\", line 101, in ?
>     import win32api, win32file
> ImportError: No module named win32api

That means you probably don't have Mark Hammond's Win32 extensions. It 
appears the script your are trying to run is looking for the Windows API 

You can download the win32 extensions from the following URL and it should 
give you the win32* modules:


Mark Nenadov,
Freelance Software Developer
e-mail: mark at

More information about the Python-list mailing list