circuitpython/tests/unicode/file1.py

5 lines
95 B
Python

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