Simple, elegant, pythonic solution for switch statement

python_only python_only at yahoo.com
Tue Apr 26 03:15:09 EDT 2005


Check it out!

Readable switch construction without lambdas or dictionaries:

http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/410692




More information about the Python-list mailing list