Newbie question about file input

Christopher T King squirrel at WPI.EDU
Mon Aug 16 11:58:17 EDT 2004


On Mon, 16 Aug 2004, Christopher T King wrote:

> The not-so-immediate fix would be to skip the blank line check

Oops, I didn't see you were using the blank line check to check for EOF 
(as Ben pointed out); forget I said that.  Do what he said instead.

On Mon, 16 Aug 2004, Peter Hansen wrote:

> (Not that this will stop someone from posting a one-liner using the "re"
> module and len(findall()), but you can safely ignore them. ;-)

It was hard, but I was able to restrain myself ;)




More information about the Python-list mailing list