Python Tricks #28 - Use dicts as switch/case