request for help
Terry Reedy
tjreedy at udel.edu
Mon Feb 18 18:58:15 EST 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
mailing list