Get Notified When Program Finishes.

Asier Serrano
The Startup
Published in
1 min readOct 5, 2020

Fast and easy tutorial in Python.

Photo by Jason Leung on Unsplash

Is my experiment still running?

What if I could get a notification once it has finished, so I can go and check the new results as soon as possible?

Let’s do this fast.

  1. Install notify2 module.
pip install notify2

2. Here’s the documented code:

3. Execute it by calling the notify function at the end of your code, and…

Sample default output.

All done by yourself! You can also install pynoti, which is more customizable and complete.

I hope it saves you some time! :D

--

--