()
Send SIGTERM to our the IPython kernel
Send SIGTERM to our the IPython kernel
Send SIGTERM to our the IPython kernel
def terminate_kernel_hack():
    "Send SIGTERM to our the IPython kernel"
    import signal
    interrupt_kernel_hack(signal.SIGTERM)
def terminate_kernel_hack ( ) : import signal interrupt_kernel_hack ( signal . SIGTERM )