Re: [Tutor] Program Control

2007-02-08 Thread Kent Johnson
[EMAIL PROTECTED] wrote: > Maybe I'm asking the wrong question. This appears that a module is a > external program. What I've seen on some programs but don't fully > understand is something of the sort: def main() and a def sub() and def > add(). It appears that the program has calls to each

Re: [Tutor] Program Control

2007-02-08 Thread [EMAIL PROTECTED]
Maybe I'm asking the wrong question. This appears that a module is a external program. What I've seen on some programs but don't fully understand is something of the sort: def main() and a def sub() and def add(). It appears that the program has calls to each of these sections. The term module

Re: [Tutor] Program Control

2007-02-08 Thread Kent Johnson
[EMAIL PROTECTED] 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

[Tutor] Program Control

2007-02-08 Thread [EMAIL PROTECTED]
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).