I string together a bunch of elif statements to simulate a switch
if foo == True:
blah
elif bar == True:
blah blah
elif bar == False:
blarg
elif ....-- http://mail.python.org/mailman/listinfo/python-list
I string together a bunch of elif statements to simulate a switch
if foo == True:
blah
elif bar == True:
blah blah
elif bar == False:
blarg
elif ....-- http://mail.python.org/mailman/listinfo/python-list