Files
TencentOS-tiny/components/language/micropython/tests/unicode/file1.py
2022-09-29 12:10:37 +08:00

5 lines
95 B
Python

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