Related to this Stack Overflow question (C state-machine design), could you Stack Overflo开发者_StackOverflow社区w folks share your Python state-machine design techniques with me (and the co
I\'m fairly sure this is a template question, since I can\'t seem to solve it any other way - but non-template solutions are also w开发者_开发技巧elcome.
I am currently writing a fsm editor with tkinter. But, I stuck on connecti开发者_运维百科ng two states. I have two questions:
I have to make a rudimentary FSM in a class, and am writing it in Python.The assignment requires we read the transitions for the machine from a text file.So for example, a FSM with 3 states, each of w