Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #39142
| From | Terry Reedy <tjreedy@udel.edu> |
|---|---|
| Subject | Re: request for help |
| Date | 2013-02-18 18:58 -0500 |
| References | <B7C01624-32AB-49CE-AAB4-064A5B8E54CB@icloud.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1982.1361231933.2939.python-list@python.org> (permalink) |
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
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: request for help Terry Reedy <tjreedy@udel.edu> - 2013-02-18 18:58 -0500
csiph-web