Can't exit python with ^D under certain circumstances

Fernando Pérez fperez528 at
Mon Dec 24 18:49:07 CET 2001

wealthychef wrote:

> I can't quite read it.
> Can anyone help me?  I'm no xmodmap dude, but i suspect
> some sort of keyboard confusion.  The two systems are different.
> Machine A is running one flavor of Unix, and machine B is
> running another, each with radically different hardware.
> Is there another way to exit Python?  Workaround?  Fix?  Thanks.

quick and ugly:

>>> import sys
>>> def quit():sys.exit()
>>> quit()

As for the origin of the problem, dunno.



More information about the Python-list mailing list