In today's post, I will be sharing three fun python mini projects with code that you can start building now. So, let's begin -
1. Random Password Generator
In this project, we will be writing a python program to generate random passwords.
Approach - Here, we are first asking the user for the size of the desired password. After this, we define a long string consisting of alphabets, numbers, and special symbols. Once we have obtained the size, we will use the random.sample() function to generate a string of random characters of a given size.
2. Convert PDF Text to Audiobook
In this project, we will be writing a python program that can be used to convert PDF text to audiobook.
Approach - We will be using pyttsx3 python library to convert text to speech.
Installation - We will first install pyttsx3 and PyPDF2 packages.
References - https://pypi.org/project/pyttsx3/
3. Email Slicer Program
In this project, we will be writing a python program to fetch our username and domain name from our email address
Approach - We know that the username and domain name are separated by a @ character, so we will be basically dividing our entire email into 2 strings using @ as a divider.
I hope you found these mini-projects useful and interesting and will build these projects, as the best way to learn any programming language is by building projects.
If you enjoyed working on these projects, you can also participate in Hack This Fall 2.0 and explore building advanced projects. Hack This Fall is a 48 Hours virtual hackathon that aims at nurturing your new ideas and prototypes in various domains. You can check out the official website to get more information and register for the hackathon - https://hackthisfall.tech/.
Also, don't forget to use my referral code HTFHE092 while registering.
Top comments (0)