40 Python Projects ideas

Hello guys , in this blog post I have organized 40 Python projects that you might be interested trying out  ranging from webscraping to to natural language processing.

All the project listed here are the one I have built personally as I learn python and I thought it might be useful sharing them with other people learning python so as to help them solidify python skills as they build them.

I have attached Either a blog post about the project or a GitHub repository with the source code of the project, I hope you will find them useful.

In case you face any issues while trying to run any of these projects, please feel free to reach me through my email at isaackeinstein(at)gmail.com, Good luck.


In this project are going to learn how to write your python script to hide secrets in images in way that is almost impossible to spot, using both password and password less steganography.

ASCII encryption is a ciphering algorithms that encrypt the original text by shifting their ASCII value by a certain secret key, This project guides to you to build one in python in no more than 15 lines of code.

Keylogger is spying program or script that secretly record all the keystrokes typed on computer for either monitoring or malicious purpose, This project illustrated how you get to build one with python in no more than 5 minutes

Natural language Processing

In this project you're going to master several speech recognition techniques as build of which you can apply to multiple of other projects, it covers recogntion from microphone, audio, and very long audio.

This project introduces you to 3 ways that to do automated language translations with Python in no more than 3 lines of code for each technique.

This Project introduces you sentiment analysis using textblob and you're going to build a simple script to summurize the overall customer reviews that were found positive vs negative ones.

This Project will guide you to building a simple desktop app using Tkinter which serves as chatbot using knowledge fed from json file.

This project guides you to building a simple plagiarism detector from scratch with python and scikit-learn based on cosine similarity, one of the use real usecase of this project is to spot out student who copied with each other.

You're probably familiar with the concept of spam if you use gmail(SPAM foler), This project guides to the process to building your own spam filtering model using python and scikit-learn.

In this project you will about extracting tweets about a certain topic from twitter and then using natural language processing to analyze how they feel about a particular topic

Web Scraping

This project guides you to building a python script that will crawl coronavirus updates from the worldometer website on all countries as shown in their website and save it to csv.

Have you ever wanted to get all the available links in a website without having to stare and doing it manually, well this project guides to build a python script to help do that in millseconds.

This is an article which will walk through the basics of webscraping together with python webscraping libraries and at the end you will get to build a script to scrap Quotes from web.

Have you visited a site and love all the pictures on it or needed them but gave up due to the process you have to visit every single page and download one by one manually, this project guides you to build a monster web crawler that will recursively parse all the downloadable image links and download them for you

Machine Learning

This project walk you through to data engineering , training a classification model, and Deployment with flask as build an you build a system to do loan repayment prediction based on trained ml data.

Computer vision

In this project you're going to learn how to build your own realtime barcode/QR code reader with Python using Pyzbar and OpenCV library.

This project introduces you to Optical character recognition(OCR) using pytesseract and Speech synthesis as build a simple python script to help you convert an image into audible sound.

A python program that employing computer vision technique to detect edges on an image based on Canny() algorithm.

This project introduces you to Cascade Classifiers whereby you're going to build a Python Program for Real time detections of vehicle using OpenCV and trained cascade classifier model.

Desktop GUI

In this project you will learn to build your own calculator app with gui using Tkinter.

This project guides you to build a simple music player app in Python using Tkinter and Pygame.

Here you will you're going to build a simple guessing game using python random module and Tkinter libary.

You will learn to make your own digital clock with Python in just 10 lines of code with time module and Tkinter.

Monty Hall Problem, is one of puzzling probability concepts popularized by Tv shows, it explains how switching of choices lead to probability concentration, If you love mathematics then this one is for you.

You will then a build a simple desktop app that you can simulate the probabilities given nth choices.

You're going to build a simple camera application in python using Tkinter and OpenCV, that will have button for you to take a picture and also to continue streaming.

Here you will get to build a simple desktop application for aim of tracking a country by which a mobile number belongs using Tkinter, pycountry and phone-iso3166.

Here you will get to build a simple libary management system application using python that allows user to borrow books and also returns using Tkinter and SQL.

A simple local messenger that relies on local network for messaging and also sharing of files


Have you trouble remove duplicates files in your drives ? The the this is for you, it guides you to building a python script that iterate recursively over your drive and remove all the duplicates.

You don't website to act as website blocker, you can easily build your own python simpliy with file handling, This project walk you through that.

Sockets are backbone of messenger apps, in this project you will get to build your own minamal cli messager using sockets.

Is your computer running something that takes time and you want it to either automatically restart or shutdown after certain time, this project walk through that in plain english


  1. How to Visualize the COVID-19 spread using folium in Python

Have you asked how interactive maps with visual insights are made, this project walk you to process of generating one with folium in Python by generating geospatial map for corona virus spread.

Embedded and IoT

This an very detailed artilce about the state of Embedded programming with Python, I also demostrate with code three ways in which you can control arduino boards with Python and at the end of article you get to build a simple assistant integrated with harware.

Bots and Automation

Here you will get to learn how telegram bot are built using botfather and how to you can built your own with python using telepot by building one.

Hope you find them useful, in case you would have anything to add just fork it, and it will be my pleasure merging your helpful contributions.

Did you count, its 35 not 40 I will take the remaining as debt and will update along the way !!

Kalebu Jordan
I am a Mechatronics engineer and professional Python Developer passionate about innovation, opensource and technical writing, Here I will be writing mostly on Python, DevOps, AI/ML and security
Dar es Salaam, Tanzania