circuitpython/tests/io/file1.py

7 lines
126 B
Python

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