← Back to team overview

sikuli-driver team mailing list archive

[Bug 1687890] [NEW] .csv excel file reading Error in sikuli

 

Public bug reported:

Hi friend I am new for Sikuli 
I want to read excel file so, i save Excel File in .csv format(CSV Comma delimited) 
and 

my code is

 
import csv
out = open('C:/Users/e592134/Desktop/New folder/example1.csv' , 'rb')
data = csv.reader(out)
    data=[row[1] for row in data]
print(data[0])
print(data[1])
print(data[2])

and I got ERROR as bellow

[error] stopped
[error] an error occurs at line 4
[error] error message;
syntax Error: <"mismatched input '' expecting EOF"", <'C:\\Users\\h224834\\Appdata\\Local\\Temp\\sikuli-tmp158639032712181619.py',4, 4, '  data=[row[1]] for row in data]\n'>>


please help.

** Affects: sikuli
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1687890

Title:
  .csv excel file reading Error in sikuli

Status in Sikuli:
  New

Bug description:
  Hi friend I am new for Sikuli 
  I want to read excel file so, i save Excel File in .csv format(CSV Comma delimited) 
  and 

  my code is

   
  import csv
  out = open('C:/Users/e592134/Desktop/New folder/example1.csv' , 'rb')
  data = csv.reader(out)
      data=[row[1] for row in data]
  print(data[0])
  print(data[1])
  print(data[2])

  and I got ERROR as bellow

  [error] stopped
  [error] an error occurs at line 4
  [error] error message;
  syntax Error: <"mismatched input '' expecting EOF"", <'C:\\Users\\h224834\\Appdata\\Local\\Temp\\sikuli-tmp158639032712181619.py',4, 4, '  data=[row[1]] for row in data]\n'>>

  
  please help.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1687890/+subscriptions


Follow ups