Files
Python-2020/Tests/test-simple-notification.py

7 lines
326 B
Python

from simple_notifications import notify
notify("Your task is done!")
notify("Your task is done!", sound=True) # This will invoke the default notification sound
notify("Your task is done!", subtitle="Status: Success")
notify("Your task is done!", informative_text="Task took 128ms")
notify("Your task is done!", sound='Glass')