python自动化办公(第3课)创建临时文件及文件夹 - 利用open(),readlines(),close()函数读取文件内容 f=open("123文本.txt","r",encoding="utf-8") text=f.readlines() print(text) f.close