Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #30517
| From | Terry Reedy <tjreedy@udel.edu> |
|---|---|
| Subject | Re: Editing in IDLE |
| Date | 2012-09-29 13:52 -0400 |
| References | <13cba669-3640-4e7b-8fee-c84c7bafb67c@googlegroups.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1646.1348941195.27098.python-list@python.org> (permalink) |
On 9/29/2012 1:14 PM, peterfarrell66@gmail.com wrote: > Hello to the group! > > I'm a new Python user and so far I'm enjoying it. One of the many > newbie problems I'm having is I can't edit my code in IDLE once it's > run or there's an error message. I can only copy the code so far, > paste at the bottom and continue coding. Is there something simple > I'm missing, or should I be using a different editor? You are missing how to use IDLE. It has two kinds of windows: interactive Shell and Edit windows. The shell more or less emulates the interactive interpreter, running one statement at a time. You can put the cursor on a previous statement and hit return to make it the current statement, where you can edit it. You edit normal multi-statement code in edit windows, hit F5 to run, edit, run, edit, run. -- Terry Jan Reedy
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Editing in IDLE peterfarrell66@gmail.com - 2012-09-29 10:14 -0700
Re: Editing in IDLE Terry Reedy <tjreedy@udel.edu> - 2012-09-29 13:52 -0400
Re: Editing in IDLE Chris Angelico <rosuav@gmail.com> - 2012-09-30 04:35 +1000
Re: Editing in IDLE peterfarrell66@gmail.com - 2012-09-29 21:13 -0700
Re: Editing in IDLE peterfarrell66@gmail.com - 2012-09-29 21:13 -0700
csiph-web