circuitpython/tests/unicode/file1.py

5 lines
87 B
Python

f = open("data/utf-8_1.txt", encoding="utf-8")
l = f.readline()
print(l)
print(len(l))