An absolute Newbie question

Brian van den Broek bvande at po-box.mcgill.ca
Sun Jul 10 13:23:18 EDT 2005


wpog said unto the world upon 10/07/2005 12:41:
> Hello,
> 
> I have a question about using "IDLE", and that is whenever I start write my  
> own program in the "Python Shell" it will automatically execute whatever 
> command I have written, for example: >>> print 'Hello World"
> 
> So, how to I get it to not execute, so that I can write a program that has 
> ordinary executable functions, and stuff like that?
> 
> I do have some experience with Turbo Pascal, and so I'm hoping that this 
> will be an even easier language to learn, and thus far it does seem so, but 
> I need to get past this first;-).
> 
> Thanks in advance,
> 
> wpog

Take a look at <http://hkn.eecs.berkeley.edu/~dyoo/python/idle_intro/>.

But the quick answer:

Launch IDLE.
File Menu -> New Window
Type away. (Be sure to explicitly save with the py or pyw extension, 
as IDLE does not add it for you.)

HTH,

Brian vdB





More information about the Python-list mailing list