Python Forum
iterate read data from excel sheet - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: iterate read data from excel sheet (/thread-19114.html)



iterate read data from excel sheet - jp2017 - Jun-18-2019

In my excel sheet1 I have data like below:
Header1
textdata1
textdata2
...

Each loop I want to read the data to another app but I'm not sure how to do this. At the moment my code just repeatedly reading the textdata1. I have done my code as below:

while exists("someimage.png"):            
     with open(file) as f:
     data = csv.reader(f) 
     i = 1                
     data = [row[0] for row in data]                
     type(data[i])


Could someone please help me? Thanks


RE: iterate read data from excel sheet - micseydel - Jun-19-2019

It seems like your question is "how can I read the data to another app?" I don't know what that means - is there a specific app you're trying to "read" to? What does "read" mean here?