"Bob Gailer" <[EMAIL PROTECTED]> wrote

>>  print “Welcome to the Area calculation program”
>
> I guess you used a word processor to write the program,

And in case you missed Bob's point - don't do that!
Use a text editor like Notepad, or better still IDLE
or Pythonwin or any other editor designed to work
with Python. But it must save the files as plain text.

> Therefore: it is better to run the program by calling
> python explicitly. Open a command prompt and
> enter (for example):....

Or alternatively use an IDE like IDLE or Pythonwin
to execute the program while you are testing it since
they will stay open after an error. Once it works in
IDLE you can run it by double clicking as usual.


-- 
Alan Gauld
Author of the Learn to Program web site
http://www.freenetpages.co.uk/hp/alan.gauld 


_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to