Python逐行打印

个人博客,欢迎来撩 fangzengye.com



with open('信息.txt','r',encoding='utf-8') as f:
datalist = []
for i in f:
datalist.append(i)

posted @ 2020-12-02 17:01  开源的Boy  阅读(128)  评论(0)    收藏  举报