sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #31147
[Question #263844]: how to read single row from csv file using python in sikuli
New question #263844 on Sikuli:
https://answers.launchpad.net/sikuli/+question/263844
Hello,
I'm trying to find a solution for one of my major project. i.e 'how to read single row from csv file using python'. Here I'm trying to find it in various ways. But i'm not getting the exact output. Here I'm pasting my script please look into once solve my issue.
#############
import csv
file = "D:\\Sikuli\\example1.csv"
data = csv.reader(open(file), delimiter=' ', quotechar='|')
for row in data:
popup( ', '.join(row))
##############
It is printing all rows one by one but i want specific row. please help me.
Thank you in advance... !
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.