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

10 lines
111 B
Python

f = open('test/python/main.py', 'r')
s = f.readline()
print(s)
lines = f.readlines()
print(lines)
f.close()