query: When cancelling a Python script do something
positive_passages.docid: 145988
positive_passages.text: How do I capture SIGINT in Python?
negative_passages.docid: 100365
negative_passages.text: Why is Python running my module when I import it, and how do I stop it?
negative_passages.docid: 51233
negative_passages.text: How do I prompt for Yes/No/Cancel input in a Linux shell script?
negative_passages.docid: 20631
negative_passages.text: Python command within script to abort without killing Blender
negative_passages.docid: 138393
negative_passages.text: Can a readied action or an attack of opportunity interrupt and thus cancel another action?
negative_passages.docid: 118812
negative_passages.text: Cancelling a Cancellation
negative_passages.docid: 12086
negative_passages.text: How to run a script without closing the terminal?
negative_passages.docid: 13482
negative_passages.text: How do I unload (reload) a Python module?
negative_passages.docid: 70930
negative_passages.text: Is there a way to disable a specific JS script from a specific website?
negative_passages.docid: 92037
negative_passages.text: Auto confirm when running bash scripts?
negative_passages.docid: 74022
negative_passages.text: Cancelled cut and paste, what happens?
negative_passages.docid: 59755
negative_passages.text: Suppress output of Python operators (bpy.ops.*)
negative_passages.docid: 152145
negative_passages.text: Should yes/no dialogs also have a cancel?
negative_passages.docid: 40720
negative_passages.text: Using Cancellation with Async Tasks
negative_passages.docid: 137660
negative_passages.text: Avoid running the script if a variable is not defined
negative_passages.docid: 120102
negative_passages.text: How to explicitly discard an out argument?
negative_passages.docid: 124327
negative_passages.text: Python Flask shutdown event handler