摘要: Python 读取指定文件指定行 场景 读取配置文件中指定行,根据读取的值判断后续的逻辑 解决方案 采用python内置的包linecache import linecache content = linecache.getline(filename=r'test01.txt',lineno=1) 阅读全文
posted @ 2021-04-20 18:01 Jruing 阅读(756) 评论(0) 推荐(0) 编辑