会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Martin Tai
你来时携风带雨,我无处可避,你走时乱了四季,我久病难医
首页
管理
2021年4月16日
python基础操作
摘要: 1. 按行读取文件 def readNode(filename): resultList = [] with open(filename, 'r') as f: while True: line = f.readline() # string if not line: break if line[0
阅读全文
posted @ 2021-04-16 17:41 linux_txl
阅读(237)
评论(0)
推荐(0)