circuitpython/tests/io/file_readline.py

7 lines
129 B
Python

f = open("io/data/file1")
print(f.readline())
print(f.readline(3))
print(f.readline(4))
print(f.readline(5))
print(f.readline())