python
hinihao234
我将优快云当成笔记本来用的,简单记录一下遇到的坑
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
2020-12-09
https://www.runoob.com/regexp/regexp-intro.html原创 2020-12-09 11:53:12 · 213 阅读 · 0 评论 -
python 读取文件特定行
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1.默认你知道“指定行”的行号 那么: def appoint_line(num,file): with open(file,“r”,encoding=‘utf-8’) as f: out = f.readlines[原创 2020-12-09 11:26:42 · 1373 阅读 · 0 评论
分享