|Code Listing by Stefan Tunsch|
This is a simple state machine that takes a functional approach.
It requires trampoline from pysistence.func to avoid the recursion limit.
Namedtuples are used to define the different states.
globals() is used to reference the states. (This could also be done putting states into a separate module and getting them through getattr.)
In this recipe the functions called in the different states need to return a...
All files and free downloads are copyright of their respective owners. We do not provide any hacked, cracked, illegal, pirated version of scripts, codes, components downloads. All files are downloaded from the publishers website, our file servers or download mirrors. Always Virus check files downloaded from the web specially zip, rar, exe, trial, full versions etc. Download links from rapidshare, depositfiles, megaupload etc not published.