[Tutor] Program Control
Kent Johnson
kent37 at tds.net
Thu Feb 8 15:33:18 CET 2007
kubota2550 at gmail.com wrote:
> I am learning Python and have written several small programs of
> increasing complexity but so far they are all "linear" programs meaning
> that they are meant to do one thing. I have yet to fully understand
> program control in order to go to and return form modules (I think this
> is the correct term). In other words, I have a menu which offers
> several options, I would like to be able to combine several of my
> programs into seperate modules and put in one larger program.
See for example
"Modules and Functions" in http://www.freenetpages.co.uk/hp/alan.gauld/
http://swaroopch.info/text/Byte_of_Python:Modules#Making_your_own_modules
http://docs.python.org/tut/node8.html
Kent
More information about the Tutor
mailing list