Friendlier response to interrupt. Use /usr/local/*bin*/python.

This commit is contained in:
Guido van Rossum 1992-12-09 23:12:59 +00:00
parent ff3da0502f
commit d3592486ce

View file

@ -1,5 +1,5 @@
#! /ufs/guido/bin/sgi/python
#! /usr/local/python
#! /usr/local/bin/python
# xxci
#
@ -111,5 +111,8 @@ def askyesno(prompt):
s = raw_input(prompt)
return s in ['y', 'yes']
setup()
go(getargs())
try:
setup()
go(getargs())
except KeyboardInterrupt:
print '[Intr]'