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('.')]) for p in '[EMAIL PROTECTED]'.split('@')])"
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to