Python Programming Examples
Cool Python Programs
Introduction Having a good quality camera is very important for computer vision projects. However, many laptop webcams offer poor-quality resolution and frame rates. What if I tell you you can use...
Introduction Have you ever thought about hiding your secret message behind an Image? Steganography is a way to conceal information within another medium. In this tutorial, we’ll learn how to...
Introduction If you’re a computer user, you likely have a treasure trove of documents, photos, and other files scattered across various folders. However, within that collection, there might be...
Introduction Have you ever sent a private message containing sensitive information, like a credit card number or a heartfelt confession? In today’s digital age, where information travels at...
Introduction In this article, we’ll explore a secure way to encrypt images using Advanced Encryption Standard (AES). AES is a widely trusted and globally recognized symmetric key encryption...
Introduction Have you seen the falling matrix code effects in the movie “The Matrix”? In the realm of computer graphics, it was an iconic visual effect. What if I tell you that, you can...
We usually give inputs to the computer using the keyboard. Well, what if there is something that can record the keystroke given through our keyboard? Whether you type a password or a username, it will...
Introduction Ever wanted to isolate that perfect sunset from a crowded photo? Or extract a specific object from a complex image? In this tutorial, you will learn two methods for cropping an image...
Introduction Shah Rukh Khan, one of the most popular name in Indian Cinema, known for his iconic acting and numerous unforgettable movies. Probably, It’s hard to find a person in India who...
Introduction Password security is an essential aspect of today’s digital world. With the increase in online activities, protecting sensitive information with secure passwords has become crucial...
Introduction Messi and Ronaldo, the dynamic duo of modern football, never fail to ignite excitement when they grace the field together. Their popularity knows no bounds, and as a devoted fan of both...
Introduction Misspellings and typos, those ever-present gremlins, can haunt even the most meticulous writer. While eagle-eyed proofreading remains crucial, Python, with its arsenal of Natural Language...
Introduction In today’s digital age, images play a crucial role in various applications, from websites to mobile apps. However, large image file sizes can significantly impact loading times and...
Introduction You are reading this article means your system has an internet connection. But do you ever check how much data your computer sent and received? There is a default application called Task...
Introduction In this article, I will show, how you can Flip your image Horizontally and Vertically using Python. To do this job, we will use a Python Image Processing library called Pillow. Not only...
Introduction Are you really want to extract text from an image? If, yes, this article gonna help you. You can extract text from an image using Python language. In fact, it is really needed when we...
Introduction If you are a Linux or Mac user, you may have heard of or used a software tool called figlet. It prints ASCII text banners of a given plain text. Our beloved Python language also offers a...
Introduction Ever wanted to give your photos a dreamy, blurred effect? In this article, we’ll show you how to blur an image using Python, a powerful programming language loved for its...
Introduction In this tutorial, we will learn how to find the coordinates of clicked points on an image using a Python program. Alternatively, you can consider this tutorial as an exploration of...
Introduction In this tutorial, we are going to learn how to draw the sketch of any human face using Python programming. To go with an example, I choose the iconic character, Lionel Messi. Here we will...
Introduction Python’s Tkinter library is a powerful tool for creating graphical user interfaces (GUIs). One common task in GUI development is displaying images. In this article, we’ll...
Introduction In the world of digital manipulation, image rotation is a fundamental operation that finds its application in various fields such as photography, graphics design, computer vision, and...
Introduction In today’s digital age, staying productive can be a real challenge, especially when there are countless distractions just a click away. Time-wasting websites, such as social media...
Introduction Suppose, you want to create an Automation script that will accomplish a certain task that you have done manually till the present. For instance, a Python program that will open a browser...
Introduction The value of a screen recorder is known very well by those who like to share with people something informative through live screen demonstration. Tech YouTubers often use it. I even use a...
Introduction Have you ever wondered how movies and videos manage to censor offensive language without completely removing the words? It’s often accomplished through manual editing. However, In...
Introduction Have you ever felt, It would be nice if I could talk to my secret friend(secret means girlfriend/boyfriend) in secret. In teenage many students fall in love and tries to hide his/her...
Introduction Today we’ll see a real-life problem at very first. Those of us who use computers have used the WhatsApp Web at least once. If so, then you might have seen how the names of the...
Introduction Remember receiving report cards in school? These documents summarized your academic performance throughout the year. Traditionally, Excel, Word, or similar software were used to design...
Introduction There are two types of clocks, analog, and digital. Analog clocks are made with only hardware components. But in the digital clock, a display is required and a program always runs in the...
Introduction Birthday is one of the happiest days in the life of every human being. Everyone hopes that his/her loved ones will greet him/her uniquely on this day. Some give a sudden surprise, and...
Introduction Do you really think twice before setting a password for your online accounts? I’m talking about the strength of the passwords you select. For example, ‘Alex0011’...
Introduction Have you ever encountered a situation where you had to find the Email IDs and Phone numbers one by one from a large text document or a webpage? Manually, it’s a boring task and may...
Introduction Normally, we scan QR codes in a photo with the help of a mobile camera or some kind of external device. Many third-party applications on the web serve as a platform where we can scan a QR...
Introduction In this tutorial, you’ll learn How to Convert a Text File to a QR Code using only a few lines of Python Code. Before that, I would recommend you, learn how to generate and decode QR...
Introduction A Quick Response Code or QR Code is a two-dimensional bar code. It became popular in the automotive sector for its large storage capacity and fast readability. Being Python lovers, we...
Introduction You may have noticed many images are watermarked(owner name, brand name, date, etc.) by the creator. It gives a professional look. Not only that, it also represents their intellectual...
Introduction Have you seen any movies in the Iron Man series? If your answer is Yes, then you may have noticed that Tony Stark had a personal assistant named Jarvis. Jarvis is a computer program and...
Introduction Python comes with a module named phonenumbers which is used to get some basic information about a phone number; for instance, the carrier name, country name, timezone, validation of a...
Introduction In this tutorial, You will learn how to get hardware and system information using Python. Python offers two modules, platform, and psutil. Using these two modules we will find many...
Introduction When it comes to expressing love❤️, there are countless ways to do so. From verbal declarations to grand gestures, the possibilities are endless. But have you ever thought about...
In this tutorial, you’ll learn how to connect python with MySQL server. We’ll use PyMySQL module here. Requirements MySQL Server – one of the following MySQL >= 5.6 MariaDB >=...
Introduction When you hit the caps lock key, you usually see a light on your keyboard blinking on and off, right? Well, let’s do something cool with it! In this tutorial, I’ll show you how...
Introduction As 2023 fades into the sunset, it’s time to start planning for the fresh possibilities of 2024! And what better way to celebrate than with a little Python magic? Forget store-bought...
Sorting
Introduction Sorting is a fundamental operation in computer science, and there are various...
Data Structure
Introduction Linked lists are fundamental data structures used in computer science and programming...
Strings
Introduction In the digital age, the internet has become an integral part of our lives. We often...
Basic Programming Exercises
Introduction In the world of computer science and programming, efficient algorithms are like hidden...