Posted in Python onSeptember 06, 2008
比如:


将返回我上一节事例代码文件2.1_open.py的第4行文字,输出结果:
f = open('/home/evergreen/桌面/test')
查看linecache中的实现(我用的是Ulipad,所以直接将光标停留在linecache处,按F6键)
Python linecache.getline()读取文件中特定一行的脚本
声明:登载此文出于传递更多信息之目的,并不意味着赞同其观点或证实其描述。
Reply on: @reply_date@
@reply_contents@