On Wed, 26 Apr 2006 22:41:04 +0200 in comp.lang.python, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote:
>In <[EMAIL PROTECTED]>, ? wrote: > >> suggest add do while loop in later version > >Please also suggest a clean syntax for this. :-) > while 1: do_loop_stuff() if time_to_leave(): break Well, maybe not too clean, but it works today... For the future, maybe: do: #or "repeat:" do_loop_stuff() until time_to_leave() Regards, -=Dave -- Change is inevitable, progress is not. -- http://mail.python.org/mailman/listinfo/python-list