Answers for "how to remove trackback on python when ctrl c"

1

how to remove trackback on python when ctrl c

import signal
import sys
signal.signal(signal.SIGINT, lambda x, y: sys.exit(0))
Posted by: Guest on May-31-2021

Python Answers by Framework

Browse Popular Code Answers by Language