天天看点

open函数: 可以帮助我们获取文件对象 内置函数 open(file, mode='r', buffering=-1, encoding=None, errors=None

txtFile=open("README.txt",mode="r",encoding="UTF-8")

继续阅读