import linecacheprint linecache.getline('url.txt',2)
读取url.txt文件的第2行内容
更多推荐
python读文件指定行的数据
>五二电子工作室--www.52dianzi.com<
我们专业提供电子产品设计开发,电路设计,PCB设计,Mstar技术支持,LCD驱动开发,视频处理,视频转换,单片机开发,嵌入式软件开发等各种电子产品设计及解决方案。
发布评论