【发布时间】:2015-02-15 18:57:39
【问题描述】:
如何在 python 中只读取以数字开头的文件中的行,即
Hello World <--ignore
Lovely day
blah43
blah
1234 <--read
blah12 <--ignore
blah
3124 <--read
Not matter how many words there are <--ignore
blah
0832 8423984 234892304 8239048324 8023948<--read
blah132 <--ignore
【问题讨论】:
标签: python list readfile file-handling