1
linzhi OP 缩进 没处理好。。囧
|
2
halfcrazy 2014-04-20 11:57:30 +08:00
lines=[line.strip().split("\t") for line in open('file') if line !="" and line[0]!="#"]
|
5
gfreezy 2014-04-21 14:02:32 +08:00
`for line in self.union_items_new_fd.readlines():`是一次读取全部的行吧。
`for line in self.union_items_new_fd:` |