Hmmm, Beazley book missing something?
Steve Lamb
grey at despair.rpglink.com
Tue Aug 1 20:30:54 EDT 2000
On Tue, 01 Aug 2000 15:27:11 -0600, Bjorn Pettersen <bjorn at roguewave.com>
wrote:
>The standard pydiom would be:
> while 1:
> line = sys.stdin.readline()
> if not line: break
> # do stuff here...
That looks familiar, thought it would be something like that. Thanks.
--
Steve C. Lamb | I'm your priest, I'm your shrink, I'm your
ICQ: 5107343 | main connection to the switchboard of souls.
-------------------------------+---------------------------------------------
More information about the Python-list
mailing list