Re: Restart the interactive python shell like in IDLE

2013-09-30 Thread Ricardo Abreu
On Thursday, June 11, 2009 1:48:42 AM UTC+2, Chris Rebert wrote: > On Wed, Jun 10, 2009 at 12:01 PM, Matt Burson wrote: > > Is there a way to reproduce the behavior of IDLE's restart shell ability by > > using a function? I thought there would be since you can exit python by > > executing the simpl

Re: Restart the interactive python shell like in IDLE

2009-06-11 Thread Terry Reedy
Chris Rebert wrote: On Wed, Jun 10, 2009 at 12:01 PM, Matt Burson wrote: Is there a way to reproduce the behavior of IDLE's restart shell ability by using a function? I thought there would be since you can exit python by executing the simple quit() function I thought there would be an equally si

Re: Restart the interactive python shell like in IDLE

2009-06-10 Thread Chris Rebert
On Wed, Jun 10, 2009 at 12:01 PM, Matt Burson wrote: > Is there a way to reproduce the behavior of IDLE's restart shell ability by > using a function? I thought there would be since you can exit python by > executing the simple quit() function I thought there would be an equally > simple function n