request for help
tjreedy at udel.edu
Tue Feb 19 00:58:15 CET 2013
On 2/18/2013 2:42 PM, leonardo selmi wrote:
> i saved the above program from python shell into a file as "circle.py" .
Which copied too much into the file.
Edit circle.py until it is a proper python program.
My initial guess was that you copied the >>> prompts, but you later
message shows that it was the welcome header. Header and prompts all
need to go. Idle makes it easier to cut and paste a single statement
from its shell to an editor window and then save. Or start your code in
an editor, such as IDLE's.
Terry Jan Reedy
More information about the Python-list