1
linzhi OP 缩进 没处理好。。囧
|
2
halfcrazy 2014 年 4 月 20 日
lines=[line.strip().split("\t") for line in open('file') if line !="" and line[0]!="#"]
|
5
gfreezy 2014 年 4 月 21 日
`for line in self.union_items_new_fd.readlines():`是一次读取全部的行吧。
`for line in self.union_items_new_fd:` |