📜  file.open("file.txt); - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:54.102000             🧑  作者: Mango

代码示例1
myfile = open("example.txt")
txt = myfile.read()
print(txt)
myfile.close()