[Baypiggies] Control-D to exit

bibha bibha at adobe.com
Wed Jul 26 19:16:23 CEST 2006


Yep...that's the confusion actually...I have worked on Unix based systems as
far as Python goes and working on Windows seems confusing now :) ...thank
you!

Thanks
Bibha


On 7/26/06 10:16 PM, "Chris Clark" <Chris.Clark at ingres.com> wrote:

> 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.
> 
> _______________________________________________
> Baypiggies mailing list
> Baypiggies at python.org
> http://mail.python.org/mailman/listinfo/baypiggies



More information about the Baypiggies mailing list