> There's plenty of results. Be more specific if you can't get what you > want from Google. You'll probably find what you're looking for here: http://wiki.python.org/moin/FiniteStateMachine David.