Joe Stevenson wrote: > I skimmed through the docs for Python, and I did not find anything like > a case or switch statement. I assume there is one and that I just > missed it. Can someone please point me to the appropriate document, or > post an example? I don't relish the idea especially long if-else > statements.
If you really want one, you could use <http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/410692>. -- http://mail.python.org/mailman/listinfo/python-list