I want to write a Python script that will remind me to take my medicine on sleep/shutdown. (just a simple pop up message). Where do I begin?
(I'm looking for a really simple implementation if it exists. I don't want to put too much effort into this)
I want to write a Python script that will remind me to take my medicine on sleep/shutdown. (just a simple pop up message). Where do I begin?
(I'm looking for a really simple implementation if it exists. I don't want to put too much effort into this)
This will tell you how to detect event
Linux:- Detect user logout / shutdown in Python / GTK under Linux - SIGTERM/HUP not received.
Windows :- Python - Windows Shutdown Events
And this will pop up notice
from tkinter import *
root = Tk()
w = Label(root, text="Take your Medicine \n :):)...Get Well Soon...")
w.pack()
root.mainloop()