I'm trying to import win32com.client module into python 2.7.10 which give me error
Traceback (most recent call last):
File "C:/Users/varma/Desktop/1.py", line 2, in
import win32api
ImportError: DLL load failed: The specified module could not be found.
But the same is working from Python Shell and terminal and not giving any error if i execute code
import win32com.client
Why running the code giving in python file giving me error and the same code is not giving any error if wrote on terminal and shell ?
解决方案
uninstalling and installed win32 back again fixed the problem thanks @ArtofWarfare