Create Desktop Notifier using Python

What will be covered in this Blog

1. Desktop Notification Introduction
2. What is Plyer?
3. Create a Desktop Notifier

Desktop Notification:

What is Plyer?

Other areas where you can use this approach

  1. Set daily tracker for COVID stats
  2. Daily notification to take medicine.
  3. Hourly notification to drink water.

Time to code!

Installing Plyer

pip install plyer
from plyer import notification
title = 'Hello Amazing people!'message= 'Thankyou for reading! Take care!'
  • title: Title of the notification
  • message: Message of the notification
  • app_name: Name of the app launching this notification
  • app_icon: Icon to be displayed along with the message
  • timeout: time to display the message for, defaults to 10
  • ticker: text to display on the status bar as the notification arrives
  • toast: simple message instead of full notification
notification.notify(title= title,
message= message,
app_icon = None,
timeout= 10,
  • the title as `'Hello Amazing people!'``
  • `message as 'Thankyou for reading! Take care!'
  • app_icon as None
  • timeout as 10 secs
  • and toast as False.





Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium


An empirical approach for analyzing the run-time of algorithms

How to build a consolidated PPT for a dashboard filtered on a dimension (Each Slide per value in…

Design Lessons From My First Crypto Trading Bot

Rippling, rounding and (Android) Pies

Containerization of spring-boot microservices using docker (Part 3/3)

Prometheus Monitoring in TIBCO Cloud Integration

Guilds: Debugging the Mystery

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Priyanka Prasad

Priyanka Prasad

More from Medium

Control Structure in Python

How to use C++Template in Python?

Python Minesweeper

Setting up Python Interpreter and running Python Code on Docker Container