python shell that saves history of typed in commands that will persist between reboots
Chris Angelico
rosuav at gmail.com
Wed Nov 23 23:30:57 EST 2011
On Thu, Nov 24, 2011 at 1:16 PM, Steven D'Aprano
<steve+comp.lang.python at pearwood.info> wrote:
> On Wed, 23 Nov 2011 10:37:56 +0000, Tim Golden wrote:
>
>> The interpreter inherits the command shell's history function: Open a
>> cmd window and then a Python session. Do some stuff.
>>
>> Ctrl-Z to exit to the surrounding cmd window. Do some random cmd stuff:
>> dir, cd, etc.
>>>>
> [1]+ Stopped python
Ctrl-Z is the Windows equivalent (well, mostly) of Linux's Ctrl-D. You
want to cleanly exit the interpreter, not SIGSTOP it.
ChrisA
More information about the Python-list
mailing list