Re: [Tutor] Understanding (Complex) Modules

2010-03-19 Thread Wayne Watson
rano To: tutor@python.org Sent: Thu, March 4, 2010 6:24:15 PM Subject: Re: [Tutor] Understanding (Complex) Modules On Thu, 4 Mar 2010 12:24:35 pm Wayne Watson wrote: > First a little preamble before my questions. > > Most of my work in Python has required modifying a program that uses > module

Re: [Tutor] Understanding (Complex) Modules

2010-03-05 Thread bob gailer
Clarifications: A module is a file. It may or may not contain python code. If it does not an exception will be raised when importing. Import executes the module's code exactly the same as if the module had been run as a script (main program). References to module objects are stored in a dic

Re: [Tutor] Understanding (Complex) Modules

2010-03-04 Thread Steven D'Aprano
On Thu, 4 Mar 2010 12:24:35 pm Wayne Watson wrote: > First a little preamble before my questions. > > Most of my work in Python has required modifying a program that uses > modules that were imported by the original program. I've made some > use of modules on a command line like math, and have used

Re: [Tutor] Understanding (Complex) Modules

2010-03-03 Thread David Hutto
--- On Wed, 3/3/10, Wayne Watson wrote: From: Wayne Watson Subject: [Tutor] Understanding (Complex) Modules To: tutor@python.org Date: Wednesday, March 3, 2010, 8:24 PM First a little preamble before my questions. Most of my work in Python has required modifying a program that uses modules

[Tutor] Understanding (Complex) Modules

2010-03-03 Thread Wayne Watson
First a little preamble before my questions. Most of my work in Python has required modifying a program that uses modules that were imported by the original program. I've made some use of modules on a command line like math, and have used the idea of a qualifier. On occasion, I've used exampl