Escreva para arquivar em P f = open("demofile2.txt", "a") f.write("Now the file has more content!") f.close()