unable to import the xlwt package in python

Asked by shalini

Hi raiman ,
I have to export my sikuli script result to excel.
For that i have followed the steps in eclipse IDE
1.Install Python plugin (PyDev) and Jython
2.Configure for using Sikuli script features at runtime by
•reference to path-to/sikuli-script.jar
•reference to the extracted folder Lib containing the folder sikuli
and in sikulix i have copied xlwt3 in lib folder.
but when i tried to write
import xlwt3
it gives error
Unresolved import: xlwt3
kindly guide me how to import xlwt3 package in python so that i can export my result to excel.

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

what version?

RC3 or 1.0.1?

Revision history for this message
shalini (shalini-tiwari01) said :
#2

RC3

Revision history for this message
RaiMan (raimund-hocke) said :
#3

Supposing you are on Windows:

- in the Sikuli program folder make a folder Lib
- into this folder copy from the xlwt stuff the folder that contains __init__.py (and only this folder)

try again

Can you help with this problem?

Provide an answer of your own, or ask shalini for more information if necessary.

To post a message you must log in.