Python Forum

Full Version: iterate read data from excel sheet
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
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?