DEV Community

Cover image for 5 Simple Projects for Python Beginners
Crazy Codigo
Crazy Codigo

Posted on

5 Simple Projects for Python Beginners

By Jayanti Goswami

If you’ve chosen Python as the next language you want to master, you are probably looking for new projects to work on and see what you can make. It is a powerful language with many modules that can help you in different ways.

When I began learning Python in 11th grade, I did not know the full potential of its libraries and often found them quite annoying. However, after making a game for my finals project, I changed my mind.

So, I have listed some of the simplest projects you can create using different libraries or modules.

Read on to choose your next week’s coding task :)

1. Tetris

Yes, the classic arcade game that many of us have spent hours grinding. Using the Pygame module, you can easily make a cool interface, a points tracker, and mess around with the controls.

Tetris

Some concepts you would be using for this game:

  • Lists
  • Loops
  • Conditional statements
  • Functions

This is one of the most fun projects possible.
Brownie points if you can connect it to database and display a leader board.

2. Image to drawing converter

In case you do not already know, Python is extensively used in ML and data science. While complex projects would definitely require multiple modules and a lot of research, you can still do some stuff as a beginner.

Python’s CV2 module is pre-trained in ML and lets you mess around with image files. You can build a simple image to drawing converter using it.

Some concepts you would be using for this converter:

  • File handling
  • CV2 module and its functions

At Crazy Codigo, we have developed a similar project. You can check it out on our GitHub.
Sketch up

Brownie points if you can create a GUI that integrates this code and lets users upload and download images.

3. A web scraper

It may sound complex but remember that Python is made for data handling. You will have tons of fun creating something of this kind.

You can use the BeautifulSoup module to scrape the web for images or data. Whether you choose a specific website or just Google images, this project’s code will help you in many future projects.
Concepts that you would be using for this:

  • API calls
  • Use of multiple modules like BeautifulSoup and requests
  • File handling

In our Twitter Miner project, we made API calls to Twitter and scraped tweets. Note that you will need a developer’s account if you want to try something similar.
Twitter Miner

Brownie points if you can scrape data from some site based off a user input keyword.

4. A Management System

If you want to master databases or query languages, this project is the perfect start. Try creating a hospital management system that keeps track of patients and doctors. Use a module like Tkinter or Kivy to give your project front end and store data in a database.

Your database can be on anything - an excel sheet, a local MySQL database, or a cloud database.

Concepts you would use for this:

  • Classes and functions
  • Connecting a database to your program
  • Making a GUI

You can also use MongoDB to create the database. To find a complete guide to MongoDB using Python, you can check out my tutorial on YouTube.
MongoDB

Brownie points for making multiple tables and using them in different functions of your program.

5. A Discord Bot

Ever wondered if you could make a custom bot for your server? With Python, the answer is yes.

This is one of the coolest projects you can work on and brag about it to everyone on your server. Python’s discord module allows you to build and integrate bots. You can do API calls to Reddit to get meme bot, or import your tic-tac-toe code and let users play using your bot.

The possibilities are endless.

Some concepts you would be using for this project:

  • Discord module and its functions
  • API calls
  • Functions and classes

We tried making a Discord bot a few months back and Annesha very lovingly named it “Vor” as a tribute to me. Sadly, we never got around to finishing it.
Discord

Brownie points if you make a Discord bot and name it Vor <3

Wrapping Up

I have tried creating a list of Python projects you can try out. Personally, I believe that working on a specific project makes it easier to learn a language rather than trying to learn every aspect one at a time. You can check out the Crazy Codigo GitHub for more ideas.

Additionally, if you want help with your codes or ideas, you can join our Discord server and interact with us and many other coders.

And a personal note for everyone who has been following us since the beginning: I know we keep going on a hiatus and re-appearing. We are planning to stay more on schedule with our content but college and busy schedules keep coming in the way.

However, you can expect more blogs now as we have some new people who want to work with us ;)

That’s all for this one. Follow us on all socials to stay updated about when we put out new content.

Cya!

~ J

Top comments (0)