3 Python Mini Projects with code you can build now.

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.


This content originally appeared on DEV Community and was authored by Drishti Peshwani

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.
import random.py - Visual Studio Code 20-09-2021 10_20_12

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/
import random.py - Visual Studio Code 20-09-2021 13_03_50

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.
import random.py - Visual Studio Code 20-09-2021 13_09_55

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.


This content originally appeared on DEV Community and was authored by Drishti Peshwani


Print Share Comment Cite Upload Translate Updates
APA

Drishti Peshwani | Sciencx (2021-10-18T19:31:38+00:00) 3 Python Mini Projects with code you can build now.. Retrieved from https://www.scien.cx/2021/10/18/3-python-mini-projects-with-code-you-can-build-now/

MLA
" » 3 Python Mini Projects with code you can build now.." Drishti Peshwani | Sciencx - Monday October 18, 2021, https://www.scien.cx/2021/10/18/3-python-mini-projects-with-code-you-can-build-now/
HARVARD
Drishti Peshwani | Sciencx Monday October 18, 2021 » 3 Python Mini Projects with code you can build now.., viewed ,<https://www.scien.cx/2021/10/18/3-python-mini-projects-with-code-you-can-build-now/>
VANCOUVER
Drishti Peshwani | Sciencx - » 3 Python Mini Projects with code you can build now.. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/10/18/3-python-mini-projects-with-code-you-can-build-now/
CHICAGO
" » 3 Python Mini Projects with code you can build now.." Drishti Peshwani | Sciencx - Accessed . https://www.scien.cx/2021/10/18/3-python-mini-projects-with-code-you-can-build-now/
IEEE
" » 3 Python Mini Projects with code you can build now.." Drishti Peshwani | Sciencx [Online]. Available: https://www.scien.cx/2021/10/18/3-python-mini-projects-with-code-you-can-build-now/. [Accessed: ]
rf:citation
» 3 Python Mini Projects with code you can build now. | Drishti Peshwani | Sciencx | https://www.scien.cx/2021/10/18/3-python-mini-projects-with-code-you-can-build-now/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.