diff --git a/pages/04.other/13.python/default.en.md b/pages/04.other/13.python/default.en.md new file mode 100644 index 0000000..41e5cdd --- /dev/null +++ b/pages/04.other/13.python/default.en.md @@ -0,0 +1,14 @@ +--- +title: Python +--- + +[toc] +## Exit on Keyboard Interrupt +``` +try: + +except KeyboardInterrupt: + + # return SIGINT code + exit(130) +``` \ No newline at end of file