Python Basics Book

Learning PathSkills: Python 3 Fundamentals, Real-World Projects

Python Basics Book

This learning path is meant to accompany our Python Basics book. It will guide you through the exercises, quizzes, and other bonus resources in the book. Master fundamental concepts for Python beginners that will help you get started on your journey to learn Python.

With this book you’ll know “enough to be dangerous” with Python, fast. Far from a dry reference, it breaks down the core concepts you really need to know into bite-sized chunks, written in plain English.

We’ve also adapted the chapters in the book into a series of on-demand video courses, available for Real Python members. With the course series you’ll learn by doing, with the guidance of experienced instructors showing exactly what to do through screen recordings:

Learning Path

Python Basics: Introduction to Python

17 Resources ⋅ Skills: Python 3 Fundamentals, Real-World Projects

Python Basics Book

Learning Path ⋅ 19 Resources

Title image for Python Basics (Python Basics Book)

Book

Python Basics

This learning path requires that you own a copy of our book "Python Basics: A Practical Introduction to Python 3". Click the link below to learn more & purchase your copy.

(⭐ Basics)
Title image for Chapter 2: Setting Up Python (Python Basics Book)

Book Chapter

Chapter 2: Setting Up Python

See step-by-step how to install a Python development environment on Windows, macOS, and Linux.

Title image for Chapter 3: Your First Python Program (Python Basics Book)

Book Chapter

Chapter 3: Your First Python Program

Now that you have the latest version of Python installed on your computer, it’s time to start coding. You'll write your first Python script, learn what happens when you run a script with an error, learn how to declare a variable and inspect its value, and learn how to write comments.

Title image for Check Your Learning Progress (Python Basics)

Interactive Quiz

Check Your Learning Progress

Title image for Check Your Learning Progress (Python Basics)

Interactive Quiz

Check Your Learning Progress

Title image for Chapter 4: Strings and Methods (Python Basics Book)

Book Chapter

Chapter 4: Strings and Methods

Learn how to work with strings and the fundamentals of using Python methods.

Title image for Exercises & Challenges (Python Basics)

Coding Exercise

Exercises & Challenges

Title image for Check Your Learning Progress (Python Basics)

Interactive Quiz

Check Your Learning Progress

Title image for Exercises & Challenges (Python Basics)

Coding Exercise

Exercises & Challenges

Title image for Chapter 5: Numbers and Math (Python Basics Book)

Book Chapter

Chapter 5: Numbers and Math

How to work with Python's built-in number types, how to round numbers in Python, and how to format and display numbers.

Title image for Check Your Learning Progress (Python Basics)

Interactive Quiz

Check Your Learning Progress

Title image for Exercises & Challenges (Python Basics)

Coding Exercise

Exercises & Challenges

Title image for Chapter 6: Functions and Loops (Python Basics Book)

Book Chapter

Chapter 6: Functions and Loops

In this chapter, you will learn how to define and use your own custom functions as the core building blocks of your programs. You will also learn another fundamental aspect of programming: how to loop over data.

Title image for Check Your Learning Progress (Python Basics)

Interactive Quiz

Check Your Learning Progress

Title image for Exercises & Challenges (Python Basics)

Coding Exercise

Exercises & Challenges

Title image for Chapter 7: Finding and Fixing Code Bugs (Python Basics Book)

Book Chapter

Chapter 7: Finding and Fixing Code Bugs

A debugger is a program you can use to better understand where bugs are located in your code. In this chapter, you'll learn how to use IDLE's built-in debugger.

Title image for Check Your Learning Progress (Python Basics)

Interactive Quiz

Check Your Learning Progress

Title image for Chapter 8: Conditional Logic and Control Flow (Python Basics Book)

Book Chapter

Chapter 8: Conditional Logic and Control Flow

Learn the mechanics of writing programs that do different things based on different conditions.

Title image for Check Your Learning Progress (Python Basics)

Interactive Quiz

Check Your Learning Progress

Title image for Exercises & Challenges (Python Basics)

Coding Exercise

Exercises & Challenges

Title image for Chapter 9: Tuples, Lists, and Dictionaries (Python Basics Book)

Book Chapter

Chapter 9: Tuples, Lists, and Dictionaries

In this chapter, you will meet three new and important data structures: Lists, Tuples, and Dictionaries.

Title image for Check Your Learning Progress (Python Basics)

Interactive Quiz

Check Your Learning Progress

Title image for Exercises & Challenges (Python Basics)

Coding Exercise

Exercises & Challenges

Title image for Chapter 10: Object-Oriented Programming (OOP) (Python Basics Book)

Book Chapter

Chapter 10: Object-Oriented Programming (OOP)

In this chapter you will learn how to declare your own custom objects in Python and then use those objects to structure your program according to the principles of object-oriented programming (OOP).

Title image for Check Your Learning Progress (Python Basics)

Interactive Quiz

Check Your Learning Progress

Title image for Exercises & Challenges (Python Basics)

Coding Exercise

Exercises & Challenges

Title image for Chapter 11: Modules and Packages (Python Basics Book)

Book Chapter

Chapter 11: Modules and Packages

In this chapter you’ll learn how to create your own modules, use modules in another file via the “import” statement, and organize several modules into a package.

Title image for Check Your Learning Progress (Python Basics)

Interactive Quiz

Check Your Learning Progress

Title image for Exercises & Challenges (Python Basics)

Coding Exercise

Exercises & Challenges

Title image for Chapter 12: File Input and Output (Python Basics Book)

Book Chapter

Chapter 12: File Input and Output

Learn how to work with files in Python. Working with files is an essential skill that is used by Python programmers working in any discipline, including web development, business automation, and data science.

Title image for Check Your Learning Progress (Python Basics)

Interactive Quiz

Check Your Learning Progress

Title image for Exercises & Challenges (Python Basics)

Coding Exercise

Exercises & Challenges

Title image for Chapter 13: Installing Packages With Pip (Python Basics Book)

Book Chapter

Chapter 13: Installing Packages With Pip

In this chapter you will learn the basics of working with Pip and will use it to install your first package.

Title image for Check Your Learning Progress (Python Basics)

Interactive Quiz

Check Your Learning Progress

Title image for Chapter 14: Creating and Modifying PDF Files (Python Basics Book)

Book Chapter

Chapter 14: Creating and Modifying PDF Files

In this chapter, you will learn how to read from, write to, and modify PDF files with Python.

Title image for Check Your Learning Progress (Python Basics)

Interactive Quiz

Check Your Learning Progress

Title image for Exercises & Challenges (Python Basics)

Coding Exercise

Exercises & Challenges

Title image for Chapter 15: Working With Databases (Python Basics Book)

Book Chapter

Chapter 15: Working With Databases

In this chapter, you will learn about a SQL database, called SQLite, that comes with every Python installation.

Title image for Check Your Learning Progress (Python Basics)

Interactive Quiz

Check Your Learning Progress

Title image for Exercises & Challenges (Python Basics)

Coding Exercise

Exercises & Challenges

Title image for Chapter 16: Interacting With the Web (Python Basics Book)

Book Chapter

Chapter 16: Interacting With the Web

Web scraping is the process of collecting and parsing raw data from the web.

Title image for Check Your Learning Progress (Python Basics)

Interactive Quiz

Check Your Learning Progress

Title image for Exercises & Challenges (Python Basics)

Coding Exercise

Exercises & Challenges

Title image for Chapter 17: Scientific Computing and Graphing (Python Basics Book)

Book Chapter

Chapter 17: Scientific Computing and Graphing

In this chapter, you will get an introduction to two of the most powerful Python packages for scientific computing and data science: NumPy and Matplotlib.

Title image for Check Your Learning Progress (Python Basics)

Interactive Quiz

Check Your Learning Progress

Title image for Exercises & Challenges (Python Basics)

Coding Exercise

Exercises & Challenges

Title image for Chapter 18: Graphical User Interfaces (Python Basics Book)

Book Chapter

Chapter 18: Graphical User Interfaces

In this chapter you will focus on learning the basics of creating a GUI with Python.

Title image for Check Your Learning Progress (Python Basics)

Interactive Quiz

Check Your Learning Progress

Title image for Exercises & Challenges (Python Basics)

Coding Exercise

Exercises & Challenges

Title image for Chapter 19: Final Thoughts and Next Steps (Python Basics Book)

Book Chapter

Chapter 19: Final Thoughts and Next Steps

Congratulations! You've made it to all the way to the end of this book. You already know enough to do a lot of amazing things with Python, but now the real fun starts: it's time to explore on your own.

Title image for "Python Tricks" Email Series (Python Tricks)

Free Email Class

"Python Tricks" Email Series

(🌟 All Skill Levels)

Got feedback on this learning path?

Looking for real-time conversation? Visit the Real Python Community Chat or join the next “Office Hours” Live Q&A Session. Happy Pythoning!

« Browse All Learning Paths