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:

Python Basics Video Course Setup Artwork

Learning Path

Python Basics: Introduction to Python

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

Python Basics Book

Learning Path ⋅ 19 Resources

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)
#1
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.

#2
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.

#3
Python Basics

Interactive Quiz

Check Your Learning Progress

Python Basics

Interactive Quiz

Check Your Learning Progress

Python Basics Book

Book Chapter

Chapter 4: Strings and Methods

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

#4
Python Basics

Coding Exercise

Exercises & Challenges

Python Basics

Interactive Quiz

Check Your Learning Progress

Python Basics

Coding Exercise

Exercises & Challenges

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.

#5
Python Basics

Interactive Quiz

Check Your Learning Progress

Python Basics

Coding Exercise

Exercises & Challenges

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.

#6
Python Basics

Interactive Quiz

Check Your Learning Progress

Python Basics

Coding Exercise

Exercises & Challenges

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.

#7
Python Basics

Interactive Quiz

Check Your Learning Progress

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.

#8
Python Basics

Interactive Quiz

Check Your Learning Progress

Python Basics

Coding Exercise

Exercises & Challenges

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.

#9
Python Basics

Interactive Quiz

Check Your Learning Progress

Python Basics

Coding Exercise

Exercises & Challenges

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).

#10
Python Basics

Interactive Quiz

Check Your Learning Progress

Python Basics

Coding Exercise

Exercises & Challenges

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.

#11
Python Basics

Interactive Quiz

Check Your Learning Progress

Python Basics

Coding Exercise

Exercises & Challenges

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.

#12
Python Basics

Interactive Quiz

Check Your Learning Progress

Python Basics

Coding Exercise

Exercises & Challenges

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.

#13
Python Basics

Interactive Quiz

Check Your Learning Progress

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.

#14
Python Basics

Interactive Quiz

Check Your Learning Progress

Python Basics

Coding Exercise

Exercises & Challenges

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.

#15
Python Basics

Interactive Quiz

Check Your Learning Progress

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.

#16
Python Basics

Interactive Quiz

Check Your Learning Progress

Python Basics

Coding Exercise

Exercises & Challenges

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.

#17
Python Basics

Interactive Quiz

Check Your Learning Progress

Python Basics

Coding Exercise

Exercises & Challenges

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.

#18
Python Basics

Interactive Quiz

Check Your Learning Progress

Python Basics

Coding Exercise

Exercises & Challenges

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.

#19
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