Python Programming
20 steps · Beginner to Advanced
Master Python from basics to building real applications. Learn variables, data types, control flow, functions, OOP, APIs, databases, and more.
play_arrow Start LearningIntroduction to Python
Learn what Python is, why it is popular, and how to set up your development environment.
Variables and Data Types
Understand how to declare variables and work with Python's core data types.
Operators and Expressions
Master arithmetic, comparison, logical, and assignment operators in Python.
Strings and String Methods
Learn how to create, manipulate, and format strings using Python's built-in string methods.
Lists and Tuples
Work with Python's ordered sequence types: mutable lists and immutable tuples.
Dictionaries and Sets
Master Python's key-value mapping type and the unique-element set type.
Control Flow - If/Elif/Else
Learn how to make decisions in your code using conditional statements.
Loops - For and While
Iterate over data using for loops, while loops, and loop control statements.
Functions
Define reusable blocks of code with parameters, return values, and scope rules.
Modules and Imports
Organize code into modules and packages, and use Python's import system effectively.
File Handling
Read from and write to files using Python's built-in file I/O capabilities.
Error Handling
Handle exceptions gracefully using try/except blocks and create custom exceptions.
List Comprehensions
Write concise and Pythonic code using list, dictionary, and set comprehensions.
OOP - Classes
Learn object-oriented programming fundamentals: classes, objects, attributes, and methods.
OOP - Inheritance
Build class hierarchies with inheritance, method overriding, and polymorphism.
Decorators and Generators
Master advanced Python features: decorators for modifying functions and generators for lazy iteration.
Working with APIs
Make HTTP requests to consume REST APIs using the requests library.
Database Access
Connect to databases and perform CRUD operations using sqlite3 and SQLAlchemy.
Virtual Environments
Isolate project dependencies using virtual environments and manage packages with pip.
Building a CLI Tool
Build a complete command-line application using argparse with subcommands and configuration.