Skip to main content

From scripts to programs

You’ve learned the building blocks. Now let’s put them together into organized, maintainable programs. In this section, you’ll learn how real Python projects are structured and how to organize your code and build programs that actually do useful things.

What you’ll build

Throughout this section, you’ll build and organize a sales analysis project, and then work with real-world weather API data:
  1. Set up a project - Create organized folder structure
  2. Understand paths - Learn how Python finds your files
  3. Organize code - Split code into reusable functions
  4. Weather data analysis - Build a program that fetches, analyzes, and visualizes real-world data
By the end, you’ll have a solid understanding of how real Python projects are organized and run.

Project structure

Create your first organized project

Python paths

Understand how Python finds files

Organizing code

Create reusable functions

Weather data analysis project

Build a weather analysis project using APIs and data files