human
How to read data from Excel and write it to text file line by line?
assistant
Here is some code to open a file `Output.txt` in append mode

file = open('Output.txt', 'a')

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.