这个其实很简单,看样例
#!/usr/bin/python
# -*- coding: utf-8 -*-
fo = open("test.txt", "r+")
next(fo)
for line in fo:
print line.strip()
原文地址:http://blog.51cto.com/weiruoyu/2342386
时间: 2024-11-07 19:44:51
这个其实很简单,看样例
#!/usr/bin/python
# -*- coding: utf-8 -*-
fo = open("test.txt", "r+")
next(fo)
for line in fo:
print line.strip()
原文地址:http://blog.51cto.com/weiruoyu/2342386