-
-
Save sanrandry/a3986e295a8141dc6e037b61b65feff9 to your computer and use it in GitHub Desktop.
python reminder
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from time import time, sleep | |
import subprocess | |
while True: | |
bashCommand = "zenity --notification --text='5'" | |
process = subprocess.Popen(bashCommand.split(), stdout=subprocess.PIPE) | |
output, error = process.communicate() | |
sleep(60 * 5) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment