python 文件处理

code

with open("test") as f:
    for line in f.readlines():
        if(line):
            print(line,"<br>")

 

 

 

 

 

 

 

 

 

 

posted @ 2020-11-03 16:26  anobscureretreat  阅读(91)  评论(0编辑  收藏  举报