wasm-demo/demo/ermis-f/python_m/cur/1844

36 lines
1.1 KiB
Plaintext

From: aahz at netcom.com (Aahz Maruch)
Date: Fri, 14 May 1999 17:55:54 GMT
Subject: while (a=b()) ...
References: <01e701be9be9$15dad220$8d84b2d8@linwin.token.hapenney.com> <wk7lqfuwgs.fsf@turangalila.harmonixmusic.com> <373B53E3.D43BA334@compaq.com>
Message-ID: <aahzFBqHt6.1Er@netcom.com>
X-UID: 1844
In article <373B53E3.D43BA334 at compaq.com>,
Greg Ewing <greg.ewing at compaq.com> wrote:
>
> while:
> line = f.readline()
> gives line <> "":
> frobulate(line)
What does this give you that
for line in f.readline()
frobulate(line)
does not? (Assuming the necessary semantic changes to permit this to
work *well*.)
--
--- Aahz (@netcom.com)
Hugs and backrubs -- I break Rule 6 <*> http://www.rahul.net/aahz/
Androgynous poly kinky vanilla queer het
'It's odd, and a little unsettling, to reflect upon the fact that English is
the only major language in which "I" is capitalized; in many other languages
"You" is capitalized and the "i" is lower case.' -- Sydney J. Harris