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