📅  最后修改于: 2022-03-11 14:45:41.369000             🧑  作者: Mango
代码示例1
myfile = open("demo.txt", "r")
myline = myfile.readline()
while myline:
print(myline)
myline = myfile.readline()
myfile.close()