how to remove trackback on python when ctrl c

135

how to remove trackback on python when ctrl c -

import signal
import sys
signal.signal(signal.SIGINT, lambda x, y: sys.exit(0))

Comments

Submit
0 Comments