diy.py 123 Bytes Edit 1 2 3 with open(r'c:\Users\EDZ\Desktop\新建文本文档.txt','r',encoding='UTF-8')as file: a=file.readline() print(a)