← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #263844]: how to read single row from csv file using python in sikuli

 

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

Kartheek gave more information on the question:
Thank you for the reply,
i tried both versions.. but i didn't get proper out put.

Please provide me solution for the below issue, Here I'm able to
printing all rows one by one but i want each row individually.

#############
import csv

file = "D:\\Sikuli\\example1.csv"

data = csv.reader(open(file), delimiter=' ', quotechar='|')
for row in data:
    popup( ', '.join(row))
##############

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.