[Tutor] Functions Calling Functions

Kent Johnson kent37 at tds.net
Sat Feb 26 02:36:47 CET 2005


Kent Johnson wrote:
> I would use a central dispatcher. Each chapter function could return a 
> token indicating which chapter is next, or it could return the actual 
> next chapter function.

Look here for an *extensive* example of this style:
http://homepage.mac.com/spkane/python/paranoia.py

Kent



More information about the Tutor mailing list