📅  最后修改于: 2022-03-11 14:47:19.802000             🧑  作者: Mango
import os
with open("filename", "r+") as file:
content = file.readline()
while(content!=""):
print(content)
content = file.readline()
file.close