My usual way of emulating do-while is:

started = False
while (someBoolean or not started):
    started = True
    #whatever else

This simply assures "whatever else" happens at least once.  Is this
Pythonic?

THN

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to