On Mon, 26 Jan 2009 12:22:18 +0000, Sion Arrowsmith wrote:

> content = a.readlines()
> 
> (Just because we can now write "for line in file" doesn't mean that
> readlines() is *totally* redundant.)

But ``content = list(a)`` is shorter.  :-)

Ciao,
        Marc 'BlackJack' Rintsch
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to