サクサク読めて、アプリ限定の機能も多数!
j-kyoda のブックマーク 2024/02/22 11:52
Capture keyboardinterrupt in Python without try-except[python]2024/02/22 11:52
このブックマークにはスターがありません。 最初のスターをつけてみよう!
stackoverflow.com2015/05/07
Is there some way in Python to capture KeyboardInterrupt event without putting all the code inside a try-except statement? I want to cleanly exit without trace if user presses Ctrl+C.
2 人がブックマーク・0 件のコメント
\ コメントが サクサク読める アプリです /
j-kyoda のブックマーク 2024/02/22 11:52
このブックマークにはスターがありません。
最初のスターをつけてみよう!
Capture keyboardinterrupt in Python without try-except
stackoverflow.com2015/05/07
Is there some way in Python to capture KeyboardInterrupt event without putting all the code inside a try-except statement? I want to cleanly exit without trace if user presses Ctrl+C.
2 人がブックマーク・0 件のコメント
\ コメントが サクサク読める アプリです /