append to a file,"with open('test.txt', 'a') as myfile: