python打开txt文件

with open("D:/Users/Administrator/Documents/str.txt","r",encoding="utf-8") as file_con:
    for i in  file_con:
        print(type(i))

评论

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注