On 25/02/2014 8:01 PM, Peter Otten wrote:
alex23 wrote:
No, the _easy_ solution is [find a suitable package on PyPI]
Easy? By the time I have evaluated these I've written my own ;)
It's never writing a solution that's the problem...it's maintaining it
over time :)
--
In article 65ac9612-fd48-472a-b077-c802be96e...@googlegroups.com,
Ronaldo abhishek1...@gmail.com wrote:
How do I write a state machine in python? I have identified the states and
the conditions. Is it possible to do simple a if-then-else sort of an
algorithm? Below is some pseudo code:
On 25/02/2014 05:19, alex23 wrote:
On 25/02/2014 1:27 PM, Tim Daneliuk wrote:
On 02/24/2014 08:55 PM, William Ray Wing wrote:
On Feb 24, 2014, at 8:30 PM, Ronaldo abhishek1...@gmail.com wrote:
How do I write a state machine in python?
Stackoverflow has a couple of compact examples here:
alex23 wrote:
On 25/02/2014 1:27 PM, Tim Daneliuk wrote:
On 02/24/2014 08:55 PM, William Ray Wing wrote:
On Feb 24, 2014, at 8:30 PM, Ronaldo abhishek1...@gmail.com wrote:
How do I write a state machine in python?
Stackoverflow has a couple of compact examples here:
Now you're making it
William Ray Wing wrote:
On Feb 24, 2014, at 8:30 PM, Ronaldo abhishek1...@gmail.com wrote:
How do I write a state machine in python? I have identified the states
and the conditions. Is it possible to do simple a if-then-else sort of an
algorithm? Below is some pseudo code:
if state ==
Peter Otten __pete...@web.de:
Why have the function return a name? Why not just another function?
As people have said, there are many ways to skin the cat.
A function can represent a state if it is the only type of event the
state machine must process. A regular expression parser would be an
How do I write a state machine in python? I have identified the states and the
conditions. Is it possible to do simple a if-then-else sort of an algorithm?
Below is some pseudo code:
if state == ABC:
do_something()
change state to DEF
if state == DEF
perform_the_next_function()
...
I
On 02/24/2014 07:30 PM, Ronaldo wrote:
How do I write a state machine in python? I have identified the states and the
conditions. Is it possible to do simple a if-then-else sort of an algorithm?
Below is some pseudo code:
if state == ABC:
do_something()
change state to DEF
if state
On Feb 24, 2014, at 8:30 PM, Ronaldo abhishek1...@gmail.com wrote:
How do I write a state machine in python? I have identified the states and
the conditions. Is it possible to do simple a if-then-else sort of an
algorithm? Below is some pseudo code:
if state == ABC:
do_something()
On 02/24/2014 08:55 PM, William Ray Wing wrote:
On Feb 24, 2014, at 8:30 PM, Ronaldo abhishek1...@gmail.com wrote:
How do I write a state machine in python? I have identified the states and the
conditions. Is it possible to do simple a if-then-else sort of an algorithm?
Below is some pseudo
On 25/02/2014 1:27 PM, Tim Daneliuk wrote:
On 02/24/2014 08:55 PM, William Ray Wing wrote:
On Feb 24, 2014, at 8:30 PM, Ronaldo abhishek1...@gmail.com wrote:
How do I write a state machine in python?
Stackoverflow has a couple of compact examples here:
Now you're making it TOO easy Bill
11 matches
Mail list logo