crac

导航

读取指定行

import linecache
the_line = linecache.getline('d:/test.txt', 1)

posted on 2018-06-12 14:56  crac  阅读(94)  评论(0编辑  收藏  举报