Exceptions: ^z

Sai Ramanath sai at sw.ods.com
Wed Nov 10 10:54:10 EST 1999


Is there a way to catch Ctrl-Z which in UNIX lets the user suspend the Python
shell into background?

I know we can catch Ctrl-C and Ctrl-D using KeyboardInterrupt and EOFError
respectively.

Thanks,
Sai
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sai.vcf
Type: text/x-vcard
Size: 362 bytes
Desc: Card for Sai Ramanath
URL: <http://mail.python.org/pipermail/python-list/attachments/19991110/4984e920/attachment.vcf>


More information about the Python-list mailing list