← Back to team overview

sikuli-driver team mailing list archive

[Question #264112]: store the values of a single row and its columns into different variables in python

 

New question #264112 on Sikuli:
https://answers.launchpad.net/sikuli/+question/264112

Hello,

I want to store the values of a single row and its columns into different variables. Here I'm pasting my code, please look into it

import csv

csvFile = csv.reader(open("Data.csv", "rb"))
mycsv = [] 

for row in csvFile:
    mycsv.append(row)
    print row
    print "....."
    print row[1]

In this case I'm able to print only rows, I'm unable to store the data into different variables. please provide me solution. Thank you in advance


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