case/switch statement?

Joe Stevenson ikvsabre at comcast.net
Sat Jun 11 12:15:42 EDT 2005


Hi all,

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.

Joe






More information about the Python-list mailing list