circuitpython/tests/io/file1.py
2014-05-03 22:01:32 +01:00

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())