Question #263844 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/263844
Status: Open => Answered
RaiMan proposed the following answer:
def lineFromCSV(file, num):
data = csv.reader(open(file), delimiter=' ', quotechar='|')
for i in range(num+1) :
num = data.next()
return num
file = "D:\\Sikuli\\example1.csv"
popup( ', '.join(lineFromCSV(file, num)))
… no idea, what happens if num > number of available lines in the csv
BTW: there are tons of examples in the net: google Python csv
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.
_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp