micropython/tests/io/file1.py

5 lines
79 B
Python

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