Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to create notification in python

import time
from plyer import notification
 
 
if __name__=="__main__":
 
        notification.notify(
            title = "HEADING HERE",
            message=" DESCRIPTION HERE" ,
           
            # displaying time
            timeout=2
)
        # waiting time
        time.sleep(7)
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #create #notification #python
ADD COMMENT
Topic
Name
4+2 =