文件读取

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

 

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