t; , this is not a good practice when
using only some features in your module(s) because you'll inject more
garbage into memory if there are features you're not using.
Share with us the updates on your code.
Ronaldo
Em qua., 7 de ago. de 2024 às 14:40, Tobiah via Python-list <
pytho
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()
...