micropython/tests/unicode/file1.py

5 wiersze
87 B
Python

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