[Baypiggies] Control-D to exit

Chris Clark Chris.Clark at ingres.com
Wed Jul 26 18:46:48 CEST 2006


Aahz wrote:
> On Wed, Jul 26, 2006, Bibha Tripathi wrote:
>   
>> Does CTRL-D not take me out of the Python interpreter anymore? Has
>> something changed about Python in 2.4.3 on Win32?
>>
>> Now I have to do ^z and then press enter to come out of the
>> interpreter...I have Win32 extensions recently installed on my machine -
>> just so someone looks for a correlation here :-)
>>     
>
> ctrl-Z has always been the way to exit on Windows because that's the
> historic end-of-file marker for Windows.  Python 2.5 fixes this schism:
> quit() and exit() now work.
>   

Just another confirmation that ctrl-z was the only "control key 
sequence" you could use to quit using the normal win32 builds. If you 
have used the cygwin package(s) they do use ctrl-d as it tries to 
emulate Unix (and unix terminals) and that may be the source of 
confusion if you remember using ctrl-d on a Windows box.



More information about the Baypiggies mailing list