# What You Can Build with Python

Python is the language people reach for to automate chores, turn data into charts, train machine learning models and run the back ends of apps, and this lesson shows where each one runs, what the Python interpreter does, and the projects you'll build in this course.

Novice · Python · Updated November 19, 2026

By Gregor Dzierzon

## After this lesson you can

- Name things people build with Python, such as scripts that automate chores, charts from data, machine learning and web APIs, and say where each runs
- Explain what the Python interpreter does with a program, reading a .py file and running its lines from top to bottom

## Key takeaways

- People use Python for scripts that automate chores, for data analysis and charts, for machine learning, and for the web APIs behind apps.
- A Python program is a text file of instructions ending in .py. The Python interpreter reads it and runs its lines from top to bottom.
- Python is written to read almost like plain English, which is why it's a first language in many colleges and a daily tool for professionals.
- In this course you build a quiz game, a grade book, a contact manager, a tested fines calculator and a weekly report, then a tool of your own.

Your phone has copied 500 photos from a trip into one folder, named `IMG_4031.jpg`, `IMG_4032.jpg` and on and on. You'd like them named by date and place instead. By hand, that's an afternoon of right-click, Rename, type. A Python program of about ten lines does all 500 in a second, and you can run it again after the next trip.

That's the kind of job Python is famous for: a small program that saves you hours. Here's what else people build with it, what happens when you run a program, and the projects you'll build in this course.

## Things people build with Python

| What | An example | Where it runs |
|---|---|---|
| Scripts that automate chores | Renaming 500 photos, or sorting a messy Downloads folder | On your own computer |
| Data analysis and charts | Turning a spreadsheet of lab measurements into the chart for a lab report | On your own computer |
| Machine learning | A program that learns from last summer's sales how much lemonade to make on a hot day | On your computer, or on big computers in the cloud for big jobs |
| Web APIs and the back ends of apps | The program that answers when an app signs you in or loads your saved recipes | On a server |
| Tools and games in the terminal | A quiz game, or a price tracker that checks a store every morning | On your own computer, in a terminal |

A **script** is a short program that does one job, like the photo renamer. **Machine learning** is a way of making a program learn a pattern from examples instead of from rules you write out. A **web API** is a program that other programs talk to: the app on your phone asks, and the API answers with data.

## A program is a text file

A recipe card is a list of steps written in words a cook understands. A **Python program** is the same idea: a list of instructions, written in the Python language, saved in a text file whose name ends in `.py`. Here is a short one for a bakery's screen:

```python
for item in ["blueberry muffin", "cranberry scone", "sourdough loaf"]:
    print("Fresh today:", item)
```

```text
Fresh today: blueberry muffin
Fresh today: cranberry scone
Fresh today: sourdough loaf
```

You'll write lines like these yourself soon. Read it out loud, though: "for each item in this list, print *Fresh today* and the item". Python was designed to read close to plain English, which is a big reason it's the first language taught in many colleges.

A computer can't read English, or Python, on its own. The **Python interpreter** is the program that can: you hand it a `.py` file, and it reads the lines from top to bottom and carries out each one in turn. Installing Python means installing the interpreter. When you type `python` and a file's name in a terminal, you're asking the interpreter to run that file.

## Who uses Python at work

- **Data analysts and scientists** clean up data, add it up and chart it.
- **Back-end developers** build web APIs with Python tools such as FastAPI and Django.
- **Machine learning engineers** train and test models.
- **People whose job isn't programming at all**: an accountant who merges 40 spreadsheets every month.

## What you'll build in this course

Each of the first five modules ends with a project, called a **mini-capstone**: something real that puts the whole module to work. Each one is its own project, with its own starter files.

- **Terminal Quiz Game** (Module 1). A five-question quiz a friend can play in the terminal, with a running score and a *play again?* question at the end.

  ![A quiz game in a terminal window: a question, the player's typed answer, a line saying it's right, the running score, and the question Play again? at the end](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/03eb905c595f4af6a3c0602c0325d003.webp)

- **Grade Book** (Module 2). A class's scores turned into each student's average and letter grade, the top three, and a tidy report.

  ![A list of students' test scores turned into a report with each student's average and letter grade, and the class's top three](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/d75bdcfc999341ee90b1e88724a219cd.webp)

- **Contact Manager** (Module 3). A contact list in the terminal that adds and searches contacts, and remembers them all between runs.

  ![A contact list in the terminal finding a contact by name, saved in a file so the contacts are still there the next time the program runs](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/0ea81c660cef41b7962e7c4dede034b7.webp)

- **Library Fines Calculator** (Module 4). A calculator for a library's late fines, written test first, with every rule proved by a test.

  ![A library's late-fine rules, each with a passing test beside it, and the calculator working out the fine for a book returned late](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/11fdda88ff8c49c6a41df1e445c6588f.webp)

- **The Garden Club's Weekly Report** (Module 5). A report that builds itself every Monday from the club's planting list and the live weather forecast.

  ![A garden club's weekly report built from a planting list and the week's weather forecast, telling members which days to water and when frost is coming](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/75f5f8a669594567920ab31722d3dd7c.webp)

- **Your own Python tool** (the final capstone). A tool you design, such as a file organizer or a price tracker, with tests and a README, ready to show anyone who asks what you can do.

  ![Three ideas for a Python tool of your own, a file organizer, a weekly report and a price tracker, each with its passing tests and a README](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/153e9f85956447409cd37170b9b4333c.webp)

Module 6 lets you try data analysis, machine learning and web APIs, so you can choose what to learn next.

## Check yourself

2 questions to try on the lesson page.

## So what

Python runs everywhere from your own laptop to the servers behind apps, and it reads close enough to English that the first program you write this week is the same kind of program professionals use to save themselves hours.

## Key terms

- [Python](https://www.ask-codey.com/glossary/python)
- [Interpreter](https://www.ask-codey.com/glossary/interpreter)
- [Script](https://www.ask-codey.com/glossary/script)
- [Machine Learning](https://www.ask-codey.com/glossary/machine-learning)
- [Web API](https://www.ask-codey.com/glossary/web-api)

Source: https://www.ask-codey.com/lessons/python-what-you-can-build
