https://www.pythontutorial.net/python-basics/python-read-text-file/
f = open("messageFile.txt","a") #change a to w to overwrite the whole text f.write('in string ,add slash n for a new line /n') f = open("messageFile.txt","r") f.close()