code

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 Learning
1

Introduction to Python

Learn what Python is, why it is popular, and how to set up your development environment.

beginner
2

Variables and Data Types

Understand how to declare variables and work with Python's core data types.

beginner
3

Operators and Expressions

Master arithmetic, comparison, logical, and assignment operators in Python.

beginner
4

Strings and String Methods

Learn how to create, manipulate, and format strings using Python's built-in string methods.

beginner
5

Lists and Tuples

Work with Python's ordered sequence types: mutable lists and immutable tuples.

beginner
6

Dictionaries and Sets

Master Python's key-value mapping type and the unique-element set type.

intermediate
7

Control Flow - If/Elif/Else

Learn how to make decisions in your code using conditional statements.

intermediate
8

Loops - For and While

Iterate over data using for loops, while loops, and loop control statements.

intermediate
9

Functions

Define reusable blocks of code with parameters, return values, and scope rules.

intermediate
10

Modules and Imports

Organize code into modules and packages, and use Python's import system effectively.

intermediate
11

File Handling

Read from and write to files using Python's built-in file I/O capabilities.

intermediate
12

Error Handling

Handle exceptions gracefully using try/except blocks and create custom exceptions.

intermediate
13

List Comprehensions

Write concise and Pythonic code using list, dictionary, and set comprehensions.

advanced
14

OOP - Classes

Learn object-oriented programming fundamentals: classes, objects, attributes, and methods.

advanced
15

OOP - Inheritance

Build class hierarchies with inheritance, method overriding, and polymorphism.

advanced
16

Decorators and Generators

Master advanced Python features: decorators for modifying functions and generators for lazy iteration.

advanced
17

Working with APIs

Make HTTP requests to consume REST APIs using the requests library.

advanced
18

Database Access

Connect to databases and perform CRUD operations using sqlite3 and SQLAlchemy.

advanced
19

Virtual Environments

Isolate project dependencies using virtual environments and manage packages with pip.

advanced
20

Building a CLI Tool

Build a complete command-line application using argparse with subcommands and configuration.

advanced