Jupyter / Colab : Play sound with any error in any cell + Play sound after completing long running cells
问题 Sometimes an error happens but I don't notice because I may be running multiple cells at one. I'd like errors to play a sound. Many people would like long running cells to play a sound when completed. 回答1: I mixed the solutions I found in some places 1 2 3 4 a) Create a global exception handler that beeps on errors b) Create a simple function that you place at the end of the long-running cell (some other approaches on links) You can change the sounds to anything you like. Note: The sounds