Re: do while loop

2006-04-26 Thread bearophileHUGS
Rick Zantow>In any case, what would you want to do that you can't do (in some way) now?< You can do all things already, that's not the point, I presume. Some things added in the last years were already possibile in different ways. Rick Zantow>If you have a compelling use case,< I agree that suc

Re: do while loop

2006-04-26 Thread Thomas Nelson
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

Re: do while loop

2006-04-26 Thread Dave Hansen
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. :-) > whil

Re: do while loop

2006-04-26 Thread Rick Zantow
Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]: > In <[EMAIL PROTECTED]>, 雷 wrote: > >> suggest add do while loop in later version > > Please also suggest a clean syntax for this. :-) > Since Python already

Re: do while loop

2006-04-26 Thread Marc 'BlackJack' Rintsch
In <[EMAIL PROTECTED]>, 雷 wrote: > suggest add do while loop in later version Please also suggest a clean syntax for this. :-) Ciao, Marc 'BlackJack' Rintsch -- http://mail.python.org/mailman/listinfo/python-list

do while loop

2006-04-25 Thread
suggest add do while loop in later version -- http://mail.python.org/mailman/listinfo/python-list