Newbie question about file input

Grant Edwards grante at
Tue Aug 17 18:30:07 CEST 2004

On 2004-08-17, Aaron Deskins <ndeskins at> wrote:

> So why does a linesplit fail after the program reads a blank
> line (or a '\n')?

It doesn't.  It just returns an empty list since there are not
any non-whitespace characters to return.

> Is this simply because there's no way to assign the variable '\n' ?

I don't understand the question.

Grant Edwards                   grante             Yow!  It's so OBVIOUS!!

More information about the Python-list mailing list