← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #661046]: How to reuse the code in sikuli

 

Question #661046 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/661046

Roman Podolyan posted a new comment:
Excel supports various export formats. One of the common formats is .csv format. 
Jython Sikuli is based on supports csv Python module (  http://www.jython.org/docs/library/csv.html   ).
I recommend to try to export Excel data to CSV.
If all the data you need go there, then you already have all the rows exported, so you may go without the part reading the data from Excel, and the second part would be looking like csv examples:

import csv
dataReader = csv.reader(open('eggs.csv'), delimiter=' ', quotechar='|')
for row in dataReader:
    #pasting code

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.