State Machines in Python

D'Arcy J.M. Cain darcy at druid.net
Sat Sep 4 14:32:02 EDT 2010


On Sat, 04 Sep 2010 19:13:28 +0100
MRAB <python at mrabarnett.plus.com> wrote:
> I suppose that if they are that similar then you could generate the
> code from a list or table of the states.

They generally aren't as simple as the little example script that I
cobbled together.

-- 
D'Arcy J.M. Cain <darcy at druid.net>         |  Democracy is three wolves
http://www.druid.net/darcy/                |  and a sheep voting on
+1 416 425 1212     (DoD#0082)    (eNTP)   |  what's for dinner.



More information about the Python-list mailing list