do...while loops

Will Ware wware at world.std.com
Tue Feb 6 08:56:29 EST 2001


Steve Lamb (grey at despair.rpglink.com) wrote:
> Henceforth I declare that the "while 1:" idiom no longer be used...
> please use "while 'this thread':" since we all know it will never die...

Maybe something a little more general, perhaps involving a new keyword.

whileWhiningAbout "indentation":
    ...do stuff...

whileWhiningAbout "lambda":
    ...do stuff...

whileWhiningAbout "rich comparisons":
    ...do stuff...

-- 
import string,time,os;print string.join((lambda x:x[:10]+x[8:])(map(
lambda x:string.center("*"*(lambda x:((x<24) ### Seasons Greetings, Will Ware
*(x-3))+3)(x),24),range(1,28, 2))),"\n") ################ wware at world.std.com



More information about the Python-list mailing list