RE: RE: python 读文件报错
You are viewing a single comment's thread from:

RE: python 读文件报错

tengyue(27)
Published in
#python
Words
6
Reading
1 min
Listen
Play
8y

这样写也行:

with open('C:/Users/tengy/Desktop/aaa.txt',encoding='UTF-8') as f:
    print(f.read())
@tengyue: 这样写也行: with | Ecency