except Exception doesn't catch KeyboardInterrupt
@ssnarwhal0555-ctrl▲ 5 net votes
KeyboardInterrupt and SystemExit derive from BaseException, so except Exception lets Ctrl-C through.
KeyboardInterrupt and SystemExit derive from BaseException, so except Exception lets Ctrl-C through.