Code with Repl.it Python projects for beginners

Start Coding

Python projects for beginners

Learn to code by example

If you're learning Python, you might have asked "what should I build?" This site is for you. We walk you through 15+ projects using Python (and sometimes NodeJS). By the end, you'll not only have significantly improved your Python skills, but you'll also have some useful apps to use and put in your portfolio.

Prefer offline? You can download all of the tutorials in Code with Repl.it in .epub, .mobi or .pdf formats, or access each tutorial directly below.

You can follow the whole set in order, or pick the ones that look the most interesting and dive right in.

Each project uses the online IDE and coding platform repl.it for all examples, so all you'll need to follow along is a free account there.

Part 1: Beginner Python projects and Repl.it basics

Lesson 1: Introduction to Repl.it

  • Learn the basics of the Repl.it IDE. Why use an online IDE and what are all those different panes?

Start Lesson 1 →

Lesson 2: Working with files

  • Learn how to create files, read from them, write to them, and import and export them in bulk.
Start Lesson 2 →

Lesson 3: Managing dependencies

  • Here we show you how to work with other people’s code in a variety of ways: in many cases all you need to do is import antigravity and fly away.
Start Lesson 3 →

Lesson 4: Data science: plotting and graphing

  • Follow along to plot every city in the USA and find out if richer people live longer.

Start Lesson 4 →

Lesson 5: Pair programming and using multiplayer

  • You can invite your friends to code along with you, a technique used by beginners and experts alike. Learn how to code collaboratively, as if you were using a Google Doc.

Start Lesson 5 →

Part 2: Intermediate Python projects and advanced Repl.it

Lesson 6: Running projects from GitHub

  • Some software needs to be configured in specific ways so you’ll also learn how to modify what happens when you press that big green “run” button.
Start Lesson 6 →

Lesson 7: Building a game with PyGame

  • We’ll build a 2D juggling game using PyGame in this lesson and you’ll learn more about graphics programming at the same time: sprites, physics, and more.
Start Lesson 7 →

Lesson 8: Keeping secrets safe

  • Have you been hacked? It’s only a matter of time if you haven’t. Learn how to keep your secrets safe, even when coding in public spaces.
Start Lesson 8 →

Lesson 9: Introduction to TDD using PyTest

  • By this stage you’ll have made a few mistakes. Learn the TDD way and how to write code that tests your other code to catch frustrating errors before they can hurt anyone.
Start Lesson 9 →

Lesson 10: Become an elite hacker with productivity hacks

  • Have you seen the Matrix? Learn to be the Neo of coding by getting more than one cursor, using keyboard shortcuts, and all of the other productivity features that Repl.it offers.
Start Lesson 10 →

Part 3: Python Projects

Beginner web scraping with Python and Repl.it

  • Learn more about what web scraping is, how websites are built, and how to automatically scrape data from websites.
Start Lesson 11 →

Building news word clouds using Python and Repl.it

  • Build a more advanced scraper that extracts the plain text from news articles, stripping away the ‘boilerplate’ content.
Start Lesson 12 →

Building a Discord Bot with Python and Repl.it

  • Build an echo bot using the Discord API. Your bot will always respond with exactly what you send it for now.
Start Lesson 13 →

Building a Discord bot with Node.js and Repl.it

  • A NodeJS version of the Discord bot tutorial above. Even if you prefer Python, it’s good to go through this one too.
Start Lesson 14 →

Hosting a web app with Django and Repl.it

  • Build a django web application and host it with Repl.it. You’ll use geolocation a weather API to show the local weather forecast.
Start Lesson 15 →

Build a CRM app with NodeJS, Repl.it, and MongoDB

  • Another web application, but using NodeJS instead of Django. Build a basic app to manage customer information.
Start Lesson 16 →

Introduction to Machine Learning

  • Build a machine-learning based text classifier. We skip the maths but show how you can use machine learning libraries to implement useful solutions.
Start Lesson 17 →

Quicksort tutorial: Python implementation

  • Whether you’re applying for jobs or just like algorithms, it’s useful to understand how sorting works. Here you’ll create a sorter from scratch.
Start Lesson 18 →