Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #39142 > unrolled thread

Re: request for help

Started byTerry Reedy <tjreedy@udel.edu>
First post2013-02-18 18:58 -0500
Last post2013-02-18 18:58 -0500
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: request for help Terry Reedy <tjreedy@udel.edu> - 2013-02-18 18:58 -0500

#39142 — Re: request for help

FromTerry Reedy <tjreedy@udel.edu>
Date2013-02-18 18:58 -0500
SubjectRe: request for help
Message-ID<mailman.1982.1361231933.2939.python-list@python.org>
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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web