pikastech 15c0985d2e add lseek() function
support readline(), readlines(), writelines() for FILEIO
2022-07-18 15:23:35 +08:00

5 lines
159 B
Python

f = open('test/out/file3.txt', 'w')
seq = ['This is the first line.\n', 'This is the second line.\n', 'This is the third line.\n']
f.writelines(seq)
f.close()