who uses Python or Ruby, and for what?

Marcin 'Qrczak' Kowalczyk qrczak at knm.org.pl
Tue May 1 20:09:10 CEST 2001


Tue, 1 May 2001 10:03:38 -0700, Bob Alexander <bobalex at home.com> pisze:

> Python 2.1    (finally! -- better, shorter, but wierd!)
>   while line in file.xreadlines():
    ^^^^^ for
>     <process the line>

In Python 2.2 it will probably be:
  for line in file:
    <process the line>

-- 
 __("<  Marcin Kowalczyk * qrczak at knm.org.pl http://qrczak.ids.net.pl/
 \__/
  ^^                      SYGNATURA ZASTĘPCZA
QRCZAK



More information about the Python-list mailing list