Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; '(at': 0.03; 'subject:IDLE': 0.04; 'newbie': 0.05; 'python': 0.09; 'mode,': 0.09; 'sep': 0.09; 'windows,': 0.09; 'file,': 0.15; '.py': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'least,': 0.16; 'missing,': 0.16; 'subject:Editing': 0.16; 'which,': 0.16; 'wrote:': 0.17; 'received:209.85.214.174': 0.21; 'header:In-Reply-To:1': 0.25; 'am,': 0.27; 'message- id:@mail.gmail.com': 0.27; 'run': 0.28; 'far,': 0.29; "i'm": 0.29; 'mode': 0.30; 'error': 0.30; 'code': 0.31; 'message.': 0.33; 'idle': 0.33; 'platforms.': 0.33; 'to:addr:python-list': 0.33; "can't": 0.34; 'received:google.com': 0.34; 'saved': 0.35; 'too.': 0.35; 'continue': 0.35; 'received:209.85': 0.35; 'something': 0.35; 'there': 0.35; 'but': 0.36; 'should': 0.36; 'problems': 0.36; 'previous': 0.37; 'rather': 0.37; 'received:209': 0.37; 'far': 0.37; 'subject:: ': 0.38; 'sure': 0.38; 'to:addr:python.org': 0.39; 'received:209.85.214': 0.39; 'header:Received:5': 0.40; 'bottom': 0.60; 'matter': 0.61; '30,': 0.62; 'personal': 0.62; 'different': 0.63; 'ever': 0.63 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=0gZULQBZmlnFoUAFrHh1T2b0aLdY7DWq4blDpC3CUi4=; b=LQ+St3ijGvSQovcCkgNaIGdjyoecjPZtBo7ybSHkXIxG23RKK3eCUvZu2FoVGYq29F eNT/H/lSdTrvyNUbIJvs6HbEDPauGgOm/zT72ulF9aFdzNdvPv/Ib8AszNQBytwqmoMw 5S9ZQdtLAVYXlYlWe2KRgNYwYyjBpu1/KDXKJaHkXs5eGS3gCL2FBnQelUvjpJUJitJE KT6E3hPFd9cHRLUEdu7zuJEf3TJVdf6BIIQDjuJO76ym5VYbsuaeJZlVjxBbCtSyNN/t GEbsgmI/axI8bZu3Xgd99Oiim/y8Vxy0fBFTgnPmX9ZMIQ4E0mLhR+P544+NPJJznRYt 7NnA== MIME-Version: 1.0 In-Reply-To: <13cba669-3640-4e7b-8fee-c84c7bafb67c@googlegroups.com> References: <13cba669-3640-4e7b-8fee-c84c7bafb67c@googlegroups.com> Date: Sun, 30 Sep 2012 04:35:02 +1000 Subject: Re: Editing in IDLE From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 20 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1348943705 news.xs4all.nl 6921 [2001:888:2000:d::a6]:52792 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:30522 On Sun, Sep 30, 2012 at 3:14 AM, 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 an= d continue coding. Is there something simple I'm missing, or should I be us= ing a different editor? I only ever use IDLE in its interactive mode (at which, imho, it's rather better than the default Python interactive mode, as it auto-indents). In that mode, you can retrieve previous commands with Alt-P - at least, that's the keystroke on Windows, not sure if it's different on other platforms. For editing code that's to be saved in a .py file, I use SciTE, but a lot of people do use IDLE for that too. It's a matter of personal preference. ChrisA