Access environment variables in Python

2 Min Read Today, let’s talk about how you can access environment variables in Python. Environment variables can be useful for storing data you do not want to add to your code. Getting started – Setting up environment variables To access environment variables, you will first need to set environment variables! Let’s see how we can set environment …

Access environment variables in Python Read More »

How to use classes and metaclasses in Python

5 Min Read Today lets take about how to use classes and metaclasses in Python. Everything in Python is an Object To understand metaclasses – we first need to understand how a class is created. In Python, classes are objects. Not only do classes create objects in Python but classes themselves are objects. And actually, everything in Python …

How to use classes and metaclasses in Python Read More »

Send a desktop notification using Python

2 Min Read To send a notification to your desktop using Python, you will need to install the following library: Plyer. Plyer is a Python library for accessing features of your hardware/platforms. Install Plyer using the following command: Open a new Python file and start by importing notification from plyer: On the next line call notification.notify specifying the …

Send a desktop notification using Python Read More »

Subscribe to my newsletter to keep up to date with my latest posts

Holler Box