Can't see the forest for the trees - when reading file, only processing first line

Heiko Wundram me+python at modelnine.org
Thu Apr 13 13:25:00 EDT 2006


Am Donnerstag 13 April 2006 19:12 schrieb News:
> The use_file() function should be returning each file line.

How do you think it should do that? There's a return line statement in the 
function which breaks function execution right after having read the first 
line.

Rethink your logic...

--- Heiko.



More information about the Python-list mailing list