Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #90177 > unrolled thread
| Started by | subhabrata.banerji@gmail.com |
|---|---|
| First post | 2015-05-08 08:26 -0700 |
| Last post | 2015-05-08 20:24 -0400 |
| Articles | 7 — 4 participants |
Back to article view | Back to comp.lang.python
IDLE Restoration subhabrata.banerji@gmail.com - 2015-05-08 08:26 -0700
Re: IDLE Restoration Chris Angelico <rosuav@gmail.com> - 2015-05-09 01:35 +1000
Re: IDLE Restoration Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-05-08 18:06 +0200
Re: IDLE Restoration Chris Angelico <rosuav@gmail.com> - 2015-05-09 02:16 +1000
Re: IDLE Restoration Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-05-08 21:12 +0200
Re: IDLE Restoration Chris Angelico <rosuav@gmail.com> - 2015-05-09 08:52 +1000
Re: IDLE Restoration Terry Reedy <tjreedy@udel.edu> - 2015-05-08 20:24 -0400
| From | subhabrata.banerji@gmail.com |
|---|---|
| Date | 2015-05-08 08:26 -0700 |
| Subject | IDLE Restoration |
| Message-ID | <08bb6733-1bc3-4f21-bba1-b97d3f73e010@googlegroups.com> |
Dear Group, 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. Regards, Subhabrata Banerjee.
[toc] | [next] | [standalone]
| From | Chris Angelico <rosuav@gmail.com> |
|---|---|
| Date | 2015-05-09 01:35 +1000 |
| Message-ID | <mailman.254.1431099341.12865.python-list@python.org> |
| In reply to | #90177 |
On Sat, May 9, 2015 at 1:26 AM, <subhabrata.banerji@gmail.com> 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
[toc] | [prev] | [next] | [standalone]
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
|---|---|
| Date | 2015-05-08 18:06 +0200 |
| Message-ID | <4709717.b925lGYb8P@PointedEars.de> |
| In reply to | #90178 |
Chris Angelico wrote: > 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. Various shells do the latter. I do not see why that would be impractical, on the contrary. -- PointedEars Twitter: @PointedEars2 Please do not cc me. / Bitte keine Kopien per E-Mail.
[toc] | [prev] | [next] | [standalone]
| From | Chris Angelico <rosuav@gmail.com> |
|---|---|
| Date | 2015-05-09 02:16 +1000 |
| Message-ID | <mailman.257.1431101805.12865.python-list@python.org> |
| In reply to | #90179 |
On Sat, May 9, 2015 at 2:06 AM, Thomas 'PointedEars' Lahn <PointedEars@web.de> wrote: > Chris Angelico wrote: > >> 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. > > Various shells do the latter. I do not see why that would be impractical, > on the contrary. Exactly what do they recall? A textual form of the scrollback? That wouldn't be too hard. But what about all your working state - assigned globals, changed state of imported modules (eg random number seed), etc, etc, etc? An active Python session is a *lot* more than a shell session scrollback, because "their results" could literally be any Python objects. ChrisA
[toc] | [prev] | [next] | [standalone]
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
|---|---|
| Date | 2015-05-08 21:12 +0200 |
| Message-ID | <9479712.mIojuHKHzG@PointedEars.de> |
| In reply to | #90182 |
Chris Angelico wrote: > […] Thomas 'PointedEars' Lahn […] wrote: >> Chris Angelico wrote: >>> 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. >> >> Various shells do the latter. I do not see why that would be >> impractical, on the contrary. > > Exactly what do they recall? “your entire history of commands” and > A textual form of the scrollback? -- PointedEars Twitter: @PointedEars2 Please do not cc me. / Bitte keine Kopien per E-Mail.
[toc] | [prev] | [next] | [standalone]
| From | Chris Angelico <rosuav@gmail.com> |
|---|---|
| Date | 2015-05-09 08:52 +1000 |
| Message-ID | <mailman.262.1431125554.12865.python-list@python.org> |
| In reply to | #90192 |
On Sat, May 9, 2015 at 5:12 AM, Thomas 'PointedEars' Lahn <PointedEars@web.de> wrote: > Chris Angelico wrote: > >> […] Thomas 'PointedEars' Lahn […] wrote: >>> Chris Angelico wrote: >>>> 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. >>> >>> Various shells do the latter. I do not see why that would be >>> impractical, on the contrary. >> >> Exactly what do they recall? > > “your entire history of commands” and > >> A textual form of the scrollback? Okay. I'm not sure how useful a text-only scrollback would be in IDLE, if you start with a clean slate. But I'll let the OP decide on whether that's a worthwhile feature request. ChrisA
[toc] | [prev] | [next] | [standalone]
| From | Terry Reedy <tjreedy@udel.edu> |
|---|---|
| Date | 2015-05-08 20:24 -0400 |
| Message-ID | <mailman.266.1431131065.12865.python-list@python.org> |
| In reply to | #90177 |
On 5/8/2015 11:26 AM, subhabrata.banerji@gmail.com wrote: > Dear Group, > > In many applications there is a facility to restore its previous sessions, especially if they close accidentally. > > Does IDLE have any such facility? No. You are prompted to close unsaved files. Filenames are saved in Recent files, making it easy to reopen. I have used Notepad++, which automatically reopens files left open when last closed, but I find that to be a nuisance as much as a help. But it is less a nuisance in Notepad++ because it has one tabbed window instead of multiple windows (something I would like for Idle). -- Terry Jan Reedy
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web