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

    Status: Open => Answered

Manfred Hampl proposed the following answer:
As far as I know the parameters are
sheet.cell_value(row,column)

In which row(s) and column(s) are your data?

If it is
row 40 col 33
row 41 col 33
row 42 col 33
then you have to loop over the rows as proposed in comment #12.

I suggest that you do debugging with print statements. something like

    print "number of rows: " + str(sh.nrows)
    for rx in range(sh.nrows):
         print "in row: " + str(rx)
         print "contents: " + sheet.cell_value(rx,33)
         text_file.write(sheet.cell_value(rx,33))
         text_file.write("\ncommit;")

etc. to see how the script is processing through the rows.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to