Re: Simple, elegant, pythonic solution for switch statement

2005-04-26 Thread bruno modulix
python_only wrote: Check it out! Readable switch construction without lambdas or dictionaries: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/410692 Not sure I'll have a need for it, but, yes, nice job !-) -- bruno desthuilliers python -c "print '@'.join(['.'.join([w[::-1] for w in p.split

Simple, elegant, pythonic solution for switch statement

2005-04-26 Thread python_only
Check it out! Readable switch construction without lambdas or dictionaries: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/410692 -- http://mail.python.org/mailman/listinfo/python-list