Explanation
This is a program that waits for interrupt
input, if interrupt is inputted, the result is displayed on screen.
Number of interrupt bits is 4.
In the state of command-input-wait, input 'q' to exit the program.
Execution example
py interruptcallback.py
Execution screen