Python Basics Book
Learning Path ⋅ Skills: Python 3 Fundamentals, Real-World Projects
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.
Note: This learning path requires that you own a copy of our book Python Basics: A Practical Introduction to Python 3. (The contents for the individual book chapters can be found in the book.)
If you don’t own a copy yet, you can learn more about the book and purchase your copy by clicking here.
Python Basics Book
Learning Path ⋅ 19 Resources
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.
Chapter 2: Setting Up Python
See step-by-step how to install a Python development environment on Windows, macOS, and Linux.
Python Basics: Setting Up Python
The first step to getting started with Python is to set it up on your machine. In this course, you'll learn how to download Python for Windows, macOS, and Ubuntu Linux and how to open Python's Integrated Development and Learning Environment, IDLE.
Installing Python 3
Bonus tutorial that goes into more detail on how to install Python 3 on your computer.
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.
Python Basics: Code Your First Python Program
In this video course, you'll write your first Python program. Along the way, you'll learn about errors, declare variables and inspect their values, and try your hand at writing comments.
Chapter 4: Strings and Methods
Learn how to work with strings and the fundamentals of using Python methods.
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.
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.
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.
Chapter 8: Conditional Logic and Control Flow
Learn the mechanics of writing programs that do different things based on different conditions.
Chapter 9: Tuples, Lists, and Dictionaries
In this chapter, you will meet three new and important data structures: Lists, Tuples, and Dictionaries.
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).
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.
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.
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.
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.
Chapter 15: Working With Databases
In this chapter, you will learn about a SQL database, called SQLite, that comes with every Python installation.
Chapter 16: Interacting With the Web
Web scraping is the process of collecting and parsing raw data from the web.
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.
Chapter 18: Graphical User Interfaces
In this chapter you will focus on learning the basics of creating a GUI with Python.
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.
Free Email Class
"Python Tricks" Email Series
Get a short & sweet Python Trick delivered to your inbox every couple of days.
Real Python Membership
Master real-world Python skills with unlimited access to Real Python's video courses and expert community.
Real Python Office Hours
Join the next "Office Hours" Live Q&A Session with an expert from the Real Python Team.
Real Python Community Chat
Discuss your coding and career questions, celebrate your progress, vote on upcoming tutorial topics, or just hang out with us at this virtual water cooler.
Python Tricks: The Book
Discover Python’s best practices with simple examples and start writing even more beautiful + Pythonic code.