[Tutor] Main program confusion

Hazlett, Les les.hazlett at navteq.com
Mon Feb 19 18:27:11 CET 2007


Dave, 

Thanks for the guidance.  I followed your advice and learned the
following:

>>> import run

>>> print "run module:", run

run module: <module 'run' from 'C:\Python25\Lib\idlelib\run.pyc'>

 

The run.py file is there also.  I can read but not understand what
run.py does.  It may be something new in 

Python 2.5.  I have unistalled Python 2.4 so I can't tell.

 

Luke,

I found this mystery main program in the extensive demos in \wsPython2.8
Docs and Demos\demo\.  It is 

used throughout the demo code - in every demo sample I have looked at.  

 

It was a mystery to me when I found it there and tried to understand it.
It is still a mystery.  I guess that, 

I will just accept it as "pure magic" and go on with my effort to
understand the many demo segments found 

there.

 

Thanks,

Les



The information contained in this communication may be CONFIDENTIAL and is intended only for the use of the recipient(s) named above. If you are not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication, or any of its contents, is strictly prohibited. If you have received this communication in error, please notify the sender and delete/destroy the original message and any copy of it from your computer or paper files.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20070219/e031abba/attachment-0001.htm 


More information about the Tutor mailing list