Hi,
I am a newbie to python. I was trying to import an execl application to python. To startwith i'm trying to open a excel file using python script.
In some of the sample scripts that are available on internet has the following contents.
--------------------------------------------------------------------------------
import win32API.client
import pythoncom
app = win32API.client.Dispatch('Excel.Application')
app.Visible = 1
app.Quit()
print pythoncom._GetInterfaceCount()
app = None
print pythoncom._GetInterfaceCount()
pythoncom.CoUninitialize()
------------------------------------------------------------------------------
When i run this script on python2.5 that i had installed on my machine, it reports the error message as follows.
Traceback (most recent call last):
File "C:\Python25\xl.py", line 12, in <module>
import win32API.client
ImportError: No module named win32API.client
Can anyone help me to fix this? What is win32com.client? Do i have to install anything specifically along with python2.5?
It would be very helpful if anyone can guide me on this.
Thanks in advance,
goms