On 30/03/2012 15:04, Barry Drake wrote:

One of the few c things I miss is the switch/case statement. if and elif
in it's place is a bit cumbersome. Still, it works.

The recipe here

http://code.activestate.com/recipes/410692-readable-switch-construction-without-lambdas-or-di/

refers to several other recipes which you might want to take a look at, sorry I meant to mention this earlier.

--
Cheers.

Mark Lawrence.

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to