Python Basics: Introduction to Python
Learning Path ⋅ Skills: Python 3 Fundamentals, Real-World Projects
![Python Basics Video Course Setup Artwork](https://files.realpython.com/media/Python-Basics-Video-Course_Watermarked.5710cce31aa9.jpg)
Through this learning path, you’ll jump-start your Python journey by mastering fundamental concepts for Python beginners. You’ll learn by doing, with the guidance of experienced instructors to support you and fast-track your development.
With this series of video courses, you’ll soon know “enough to be dangerous” with Python. The courses break down the core concepts you really need to know into bite-sized chunks, delivered in plain English.
Note: This learning path doesn’t require that you own a copy of Python Basics: A Practical Introduction to Python 3. However, it’s a valuable reference that can reinforce the knowledge that you’re gaining through the video courses.
If you don’t own a copy yet, you can learn more about the book and purchase your copy by clicking here.
Python Basics: Introduction to Python
Learning Path ⋅ 17 Resources
Getting Started
Kick-start your Python journey with a solid foundation. Learn how to set up Python on your machine and take the exciting first step of coding your initial Python program.
![Title image for Setting Up Python (Python Basics Video Course Setup Artwork)](https://files.realpython.com/media/Python-Basics-Video-Course_Watermarked.5710cce31aa9.jpg)
Course
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.
![Title image for Code Your First Python Program (Python Basics: Code Your First Python Program)](https://files.realpython.com/media/Python-Basics-Your-First-Python-Program_Watermarked.bee327fe83d3.jpg)
Course
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.
![Title image for Code Your First Python Program Quiz (Python Basics: Code Your First Python Program)](https://files.realpython.com/media/Python-Basics-Your-First-Python-Program_Watermarked.bee327fe83d3.jpg)
Interactive Quiz
Code Your First Python Program Quiz
Python Data Types and Operations
Dive into the fascinating world of Python’s core data types. Master the art of manipulating text with strings, and crunching different types of numbers.
![Title image for Strings and String Methods (Python Basics: Strings and String Methods)](https://files.realpython.com/media/Strings-and-String-Methods_Watermarked.d8a699442858.jpg)
Course
Strings and String Methods
In Python, collections of text are called strings. In this course, you'll learn about this fundamental data type and the string methods that you can use to manipulate strings. Along the way, you'll learn ways to work with strings of numbers, and how to format strings for printing.
![Title image for Strings and String Methods Quiz (Python Basics: Strings and String Methods)](https://files.realpython.com/media/Strings-and-String-Methods_Watermarked.d8a699442858.jpg)
Interactive Quiz
Strings and String Methods Quiz
![Title image for Numbers and Math (Python Basics: Numbers and Math)](https://files.realpython.com/media/Numbers-and-Math_Watermarked.003d073f69b2.jpg)
Course
Numbers and Math
Learn the math that you'll need for your Python programming journey. This includes integers and floating-point numbers, arithmetic operators, and string formatting for numbers.
![Title image for Numbers and Math Quiz (Python Basics: Numbers and Math)](https://files.realpython.com/media/Numbers-and-Math_Watermarked.003d073f69b2.jpg)
Interactive Quiz
Numbers and Math Quiz
![Title image for Exercises: Numbers and Math (Python Basics: Numbers and Math)](https://files.realpython.com/media/Numbers-and-Math_Watermarked.003d073f69b2.jpg)
Course
Exercises: Numbers and Math
Control Flow and Functions
Unleash the power of Python’s control flow mechanisms and functions. Create your own functions, employ loops for repeated tasks, and use conditional logic to make your programs smarter.
![Title image for Functions and Loops (Python Basics: Functions and Loops)](https://files.realpython.com/media/Functions-and-Loops_Watermarked.a67f34d8480c.jpg)
Course
Functions and Loops
Learn how to create user-defined functions that you can execute several times throughout your code. You'll also try your hand at repeating code with for and while loops.
![Title image for Functions and Loops Quiz (Python Basics: Functions and Loops)](https://files.realpython.com/media/Functions-and-Loops_Watermarked.a67f34d8480c.jpg)
Interactive Quiz
Functions and Loops Quiz
![Title image for Scopes (Python Basics: Scopes)](https://files.realpython.com/media/Scopes_Watermarked.685961c819c9.jpg)
Course
Scopes
Learn what scope is and why it's important to coding functions and loops in Python. You'll also get to know the LEGB rule.
![Title image for Scopes Quiz (Python Basics: Scopes)](https://files.realpython.com/media/Scopes_Watermarked.685961c819c9.jpg)
Interactive Quiz
Scopes Quiz
![Title image for Exercises: Scopes (Python Basics: Scopes)](https://files.realpython.com/media/Scopes_Watermarked.685961c819c9.jpg)
Course
Exercises: Scopes
![Title image for Conditional Logic and Control Flow (Python Basics: Conditional Logic & Control Flow)](https://files.realpython.com/media/Conditional-Logic-Control-Flow_Watermarked.5a5c420d8b58.jpg)
Course
Conditional Logic and Control Flow
Learn how to use conditional logic to write programs that perform different actions based on different conditions. Paired with functions and loops, conditional logic allows you to write complex programs that can handle many different situations.
![Title image for Conditional Logic and Control Flow Quiz (Python Basics: Conditional Logic & Control Flow)](https://files.realpython.com/media/Conditional-Logic-Control-Flow_Watermarked.5a5c420d8b58.jpg)
Interactive Quiz
Conditional Logic and Control Flow Quiz
Debugging and Error Handling
Turn obstacles into opportunities by learning to find and fix bugs in your Python code. Develop your problem-solving skills and become proficient at using Python’s built-in debugging tools.
![Title image for Finding and Fixing Code Bugs (Python Basics: Finding and Fixing Code Bugs)](https://files.realpython.com/media/Finding-and-Fixing-Code-Bugs_Watermarked.0c18c5fbaf79.jpg)
Course
Finding and Fixing Code Bugs
Learn how to identify and fix logic errors, or bugs, in your Python code. You'll use the built-in debugging tools in Python's Integrated Development and Learning Environment to practice locating and resolving bugs in an example function.
![Title image for Finding and Fixing Code Bugs Quiz (Python Basics: Finding and Fixing Code Bugs)](https://files.realpython.com/media/Finding-and-Fixing-Code-Bugs_Watermarked.0c18c5fbaf79.jpg)
Interactive Quiz
Finding and Fixing Code Bugs Quiz
Complex Data Types
Explore more complex data types, such as lists, tuples, and dictionaries. Learn how to create, use, and manipulate these data structures in Python. You’ll get to know their unique characteristics, use cases, and the various operations applicable to them.
![Title image for Lists and Tuples (Python Basics: Lists and Tuples)](https://files.realpython.com/media/Lists-and-Tuples_Watermarked.a1232313125d.jpg)
Course
Lists and Tuples
Learn about Python lists and tuples, including how to define and manipulate them in your code. By the end of the course, you'll be ready to effectively use lists and tuples in your programming projects.
![Title image for Lists and Tuples Quiz (Python Basics: Lists and Tuples)](https://files.realpython.com/media/Lists-and-Tuples_Watermarked.a1232313125d.jpg)
Interactive Quiz
Lists and Tuples Quiz
![Title image for Exercises: Lists and Tuples (Python Basics: Lists and Tuples)](https://files.realpython.com/media/Lists-and-Tuples_Watermarked.a1232313125d.jpg)
Course
Exercises: Lists and Tuples
![Title image for Dictionaries (Python Basics: Dictionaries)](https://files.realpython.com/media/Dictionaries_Watermarked.f3cab89511c2.jpg)
Course
Dictionaries
One of the most useful data structures in Python is the dictionary. In this video course, you’ll learn what a dictionary is, how dictionaries differ from lists and tuples, and how to define and use dictionaries in your own code.
![Title image for Dictionaries Quiz (Python Basics: Dictionaries)](https://files.realpython.com/media/Dictionaries_Watermarked.f3cab89511c2.jpg)
Interactive Quiz
Dictionaries Quiz
![Title image for Exercises: Dictionaries (Python Basics: Dictionaries)](https://files.realpython.com/media/Dictionaries_Watermarked.f3cab89511c2.jpg)
Course
Exercises: Dictionaries
Object-Oriented Programming
Step into the realm of Object-Oriented Programming (OOP) in Python. Learn to create classes, instantiate objects, and design complex systems using classes, opening doors to powerful programming techniques.
![Title image for Object-Oriented Programming (OOP) (Python Basics: Object-Oriented Programming)](https://files.realpython.com/media/Object-Oriented-Programming-OOP_Watermarked.df1bfba08d93.jpg)
Course
Object-Oriented Programming (OOP)
Get to know OOP, or object-oriented programming. You'll learn how to create a class, use classes to create new objects, and instantiate classes with attributes.
![Title image for Object-Oriented Programming Quiz (Python Basics: Object-Oriented Programming)](https://files.realpython.com/media/Object-Oriented-Programming-OOP_Watermarked.df1bfba08d93.jpg)
Interactive Quiz
Object-Oriented Programming Quiz
![Title image for Building Systems With Classes (Python Basics: Building Systems With Classes)](https://files.realpython.com/media/Building-Systems-With-Classes_Watermarked.66dbacf45f75.jpg)
Course
Building Systems With Classes
Learn how to work with classes to build complex systems in Python. By composing classes, inheriting from other classes, and overriding class behavior, you'll harness the power of object-oriented programming (OOP).
![Title image for Building Systems With Classes Quiz (Python Basics: Building Systems With Classes)](https://files.realpython.com/media/Building-Systems-With-Classes_Watermarked.66dbacf45f75.jpg)
Interactive Quiz
Building Systems With Classes Quiz
Modular Programming
Tackle major programming tasks by breaking your code into smaller, more manageable modules. Through packaging, you can turn these modules into building blocks for a larger application.
![Title image for Modules and Packages (Python Basics: Modules and Packages)](https://files.realpython.com/media/Modules-and-Packages_Watermarked.bc38abc24435.jpg)
Course
Modules and Packages
Learn how to build an application by putting related code into separate files called modules. You'll also use the import statement to use modules in another file.
![Title image for Modules and Packages Quiz (Python Basics: Modules and Packages)](https://files.realpython.com/media/Modules-and-Packages_Watermarked.bc38abc24435.jpg)
Interactive Quiz
Modules and Packages Quiz
File Operations
Master the art of working with files in Python. Learn how to interact with your file system, and how to read and write files. This knowledge is essential for handling data and performing various operations in real-world projects.
![Title image for File System Operations (Python Basics: File System Operations)](https://files.realpython.com/media/Input-and-Output_Watermarked.e99e4b682915.jpg)
Course
File System Operations
Learn how to use the pathlib module to carry out file path operations with Python. These operations include creating, iterating over, searching for, moving, and deleting files and folders.
![Title image for File System Operations Quiz (Python Basics: File System Operations)](https://files.realpython.com/media/Input-and-Output_Watermarked.e99e4b682915.jpg)
Interactive Quiz
File System Operations Quiz
![Title image for Reading and Writing Files (Python Basics: Reading and Writing Files)](https://files.realpython.com/media/Reading-and-Writing-Files_Watermarked.e28124958809.jpg)
Course
Reading and Writing Files
Learn how to move data back and forth between your Python programs and external software by reading and writing files. You'll practice reading and writing data stored in the CSV file format, one of the most widely supported file formats for transferring tabular data.
![Title image for Reading and Writing Files Quiz (Python Basics: Reading and Writing Files)](https://files.realpython.com/media/Reading-and-Writing-Files_Watermarked.e28124958809.jpg)
Interactive Quiz
Reading and Writing Files Quiz
Working With External Code Packages
Enhance your Python projects by learning how to work with external code packages. Discover how to install third-party Python packages using pip, expanding the functionality of your programs and opening up new possibilities.
![Title image for Installing Packages With pip (Python Basics: Installing Packages With pip)](https://files.realpython.com/media/Installing-Packages-with-pip_Watermarked.8371234cc471.jpg)
Course
Installing Packages With pip
Python's standard library includes a whole buffet of useful packages, but sometimes you need to reach for a third-party library. That's where pip comes in handy. In this video course, you'll learn how to pip install packages.
![Title image for Installing Packages With pip Quiz (Python Basics: Installing Packages With pip)](https://files.realpython.com/media/Installing-Packages-with-pip_Watermarked.8371234cc471.jpg)
Interactive Quiz
Installing Packages With pip Quiz
Continue Learning
Grab a copy of the Python Basics book to continue your learning journey and master additional concepts, such as web interactions with Python, creating and modifying PDF files, working with databases, building graphical user interfaces (GUIs), and using Python for scientific computing and graphing.
![Title image for Python Basics: A Practical Introduction to Python 3 (Python Basics Book: A Practical Introduction to Python 3)](https://files.realpython.com/media/python-basics-3d-header-wide.370657dd0129.jpg)
Book
Python Basics: A Practical Introduction to Python 3
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.
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!