my_file_handle=open("folder/test.txt") my_file_handle.read()
for i in range(10): f.write("This is line %d\r\n" % (i+1))