Finite state machine in python

CTO debatem1 at
Sun Sep 13 06:58:55 CEST 2009

On Sep 12, 4:39 pm, Peng Yu <pengyu... at> wrote:
> Hi,
> I have see some discussion on the implementation of finite state
> machine in python. Can somebody point to me the best way in implenting
> an FSM in python?
> Regards,
> Peng

I wrote an example of how to do it using Graphine a while back.
Probably not the most efficient in the world, but pretty easy
to read, and it allows you to add and remove states and transitions


Geremy Condra

More information about the Python-list mailing list