On 10/11/2012 12:32, pythonStudent wrote:
Hello,
When I issue the following statement:
import win32com.client
I got the following result:
Traceback (most recent call last):
File "<pyshell#3>", line 1, in <module>
import win32com.client
ImportError: No module named win32com.client
These happened too with the following statements:
from xlrd import open_workbook
Traceback (most recent call last):
File "<pyshell#1>", line 1, in <module>
from xlrd import open_workbook
ImportError: No module named xlrd
import pythoncom
Traceback (most recent call last):
File "<pyshell#2>", line 1, in <module>
import pythoncom
ImportError: No module named pythoncom
I there anything I need to do first or install first before I execute these
statements?
Please help.
Thank you.
You'll need to install all of them before the import will work as none
of them are provided with the standard Python distribution from
python.org. The easist way to do this is to get easy_install, and
either use this directly to get the modules you want or use it to
install pip, and then use pip.
--
Cheers.
Mark Lawrence.
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32