文件读取

path="F://a.txt"
with open(path,"r") as f:
    for i in f:
        print(i)

 

posted @ 2020-07-30 11:42    阅读(78)  评论(0编辑  收藏  举报