X-FeedAbuse: http://nntpfeed.proxad.net/abuse.pl feeded by 195.154.70.45 Path: csiph.com!usenet.pasdenom.info!nntpfeed.proxad.net!news.redatomik.org!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.061 X-Spam-Evidence: '*H*': 0.88; '*S*': 0.00; 'subject:IDLE': 0.04; 'interpreter': 0.05; 'cursor': 0.09; 'latter': 0.09; 'cc:addr :python-list': 0.11; 'suggest': 0.14; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'reasonably': 0.16; 'sessions,': 0.16; 'sat,': 0.16; 'wrote:': 0.18; 'bit': 0.19; 'cc:addr:python.org': 0.22; 'browsers': 0.24; 'instance,': 0.24; 'tend': 0.24; 'fairly': 0.24; 'cc:2**0': 0.24; 'header:In-Reply- To:1': 0.27; 'am,': 0.29; 'generally': 0.29; 'especially': 0.30; 'message-id:@mail.gmail.com': 0.30; 'crash': 0.31; 'facility': 0.31; 'origin': 0.31; 'quite': 0.32; 'text': 0.33; 'actual': 0.34; 'there,': 0.34; 'maybe': 0.34; 'editor': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'idle': 0.36; 'possible': 0.36; 'being': 0.38; 'files': 0.38; 'fact': 0.38; 'track': 0.38; 'previous': 0.38; 'does': 0.39; 'how': 0.40; 'commands': 0.60; 'most': 0.60; 'entire': 0.61; 'kindly': 0.61; 'such': 0.63; 'more': 0.64; 'close': 0.67; 'hoping': 0.75; 'restore': 0.78; '2015': 0.84; 'one;': 0.84; 'contents.': 0.91; 'notion': 0.91; 'thing,': 0.91; 'to:none': 0.92 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:cc :content-type; bh=fGDGOvQVbMWPL7Hee1fxD01YoBauNeiMA66QKCSWQSA=; b=a4AE2+lrgFlEGAZr08ovKqWS2UTD5E27gT/fATkeU9Oh23lwatikoQk07vvyTHKWcZ HoCbiQMkqX3kU6Q+SFciltxfi8PxBYWEXFKkRIXTmqyw8VkmFSoEu7Wyugp+C+nYqdwD HlK6HyOLUL3rx4IYcYut1+yVyLkHbRtNfdlSIleaXq8JE8Hb8vGGvmIXTeUWV1w1ORx1 HmLLso2W/cz/X49p/vcZjH2z4ZiQSfQ6qbIt9uJMMLNqgjRWhcbB022K9P2nNnJ/icYT b7vJc4a+25BOyXtLV2fDsKBV5JKSbYtb3sYr8HFuM2P/MCt4EfzVnaINFDcFjNKbObUb 6PSw== MIME-Version: 1.0 X-Received: by 10.43.96.10 with SMTP id ce10mr4667872icc.59.1431099338522; Fri, 08 May 2015 08:35:38 -0700 (PDT) In-Reply-To: <08bb6733-1bc3-4f21-bba1-b97d3f73e010@googlegroups.com> References: <08bb6733-1bc3-4f21-bba1-b97d3f73e010@googlegroups.com> Date: Sat, 9 May 2015 01:35:38 +1000 Subject: Re: IDLE Restoration From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ 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: 23 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1431099341 news.xs4all.nl 2880 [2001:888:2000:d::a6]:34723 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:90178 On Sat, May 9, 2015 at 1:26 AM, wrote: > In many applications there is a facility to restore its previous sessions, especially if they close accidentally. > > Does IDLE have any such facility? > If it is there, how may I use it? > > If someone may kindly suggest it. Generally the notion of session restore is a fairly limited one; for instance, a text editor might keep track of which files were opened (and maybe cursor positions), but not the actual contents. Web browsers tend to do a bit more than that (a good thing, since they crash more often than text editors do), but still generally depend on being able to retrieve most of the content from the origin server(s) on restart. Are you hoping to have the IDLE editor restore the fact that you had files X, Y, and Z open, or are you hoping to have the interactive interpreter retain your entire history of commands and their results? The former is reasonably plausible (and may well be possible already - Terry?), but the latter is quite impractical. ChrisA