Question : Append to an existing file
Answered by : abdulmalek-badra
f = open("demofile1.txt", "a") # Append to an existing file
f.write("The file will include more text..")
f.close()
Source : https://tryhackme.com/room/pythonbasics | Last Update : Sat, 25 Jun 22