Darrell> Using an exception as a "switch" statement is a cool idea. A Darrell> dictionary approach comes to mind, with so many states. Yup... Check out http://www.musi-cal.com/~skip/python/ and scroll down to "Finite State Machine" for a slightly more elaborate way of doing finite state machines... Skip