do...while loops

Dan Parisien dan at eevolved.com
Tue Feb 6 00:26:52 EST 2001


why don't do...while loops exist in python? Is there are better way to get 
to that functionality?

e.g.
file = open(...)
do:
        line = file.readline()
while line != ""


Do I have to write a PEP or read some more documentation? ;-)

Thanks,
Dan



More information about the Python-list mailing list