[Tutor] Main program confusion

Kent Johnson kent37 at tds.net
Mon Feb 19 18:38:03 CET 2007

Hazlett, Les wrote:
> 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'>

I don't think that is the correct run.py.

> 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. 

There is a run.py in the demo folder, that is the one you get when you 
run the demos.


More information about the Tutor mailing list