Python Agregar a archivo
with open(filename, "a+") as f:
f.write('Hello World')
Nutty Narwhal
with open(filename, "a+") as f:
f.write('Hello World')
with open("test.txt", "a") as myfile:
myfile.write("appended text")