Skip to main content
Albero Academy
All tutorials

Python tutorials

Master Python from basics to advanced — data types, loops, functions, OOP, and real-world projects.

Chapters
16
Total reading
4h 29m
Level
Beginner to Advanced

Chapters

  1. Chapter 1

    Python Fundamentals

    Learn the basics of Python — installation, variables, data types, input/output, comments, and your first programs.
    11 min readStart
  2. Chapter 2

    Python Operators

    Master arithmetic, comparison, logical, assignment, bitwise, membership, and identity operators with practical examples.
    14 min readStart
  3. Chapter 3

    Python Data Types

    Deep dive into Python's data types — integers, floats, strings, booleans, None, type conversion, and how they work in memory.
    18 min readStart
  4. Chapter 4

    Python Lists

    Master Python lists — creation, indexing, slicing, methods, iteration, comprehensions, nested lists, and common patterns.
    22 min readStart
  5. Chapter 5

    Python Strings

    Complete guide to Python strings — creation, indexing, slicing, methods, formatting, regex basics and real-world use cases.
    20 min readStart
  6. Chapter 6

    Tuples & Sets

    Understand immutable tuples and unique-element sets — creation, operations, methods, use cases, and when to use which.
    16 min readStart
  7. Chapter 7

    Python Dictionaries

    Master Python dictionaries — creation, access patterns, CRUD operations, iteration, comprehensions, nested dicts, and common idioms.
    18 min readStart
  8. Chapter 8

    Conditional Statements

    Control program flow with if, elif, else, ternary expressions, match-case, guard clauses, and clean conditionals.
    14 min readStart
  9. Chapter 9

    Python Loops

    Master for loops, while loops, range(), enumerate(), zip(), break, continue, nested loops, and efficient iteration patterns.
    16 min readStart
  10. Chapter 10

    Python Functions

    Define and call functions, pass arguments, set defaults, use *args/**kwargs, write lambdas, and structure clean reusable code.
    18 min readStart
  11. Chapter 11

    Python File Handling

    Read and write text files, CSVs, and JSON in Python — with safe context managers, common modes, and Pathlib best practices.
    16 min readStart
  12. Chapter 12

    Python Exception Handling

    Handle errors gracefully with try/except/else/finally, raise exceptions, define custom exception classes, and write robust Python.
    15 min readStart
  13. Chapter 13

    Object-Oriented Programming

    Model your problem with classes and objects — attributes, methods, __init__, inheritance, encapsulation and the dunder methods.
    20 min readStart
  14. Chapter 14

    Iterators, Generators & Comprehensions

    How Python loops under the hood — the iterator protocol, memory-efficient generators with yield, and expressive comprehensions.
    18 min readStart
  15. Chapter 15

    Decorators & Closures

    Functions as first-class values, closures that capture state, and decorators that wrap behaviour — the magic behind @ syntax.
    17 min readStart
  16. Chapter 16

    Modules, Packages & Virtual Environments

    Organise code across files, import it cleanly, install third-party libraries with pip, and isolate projects with virtual environments.
    16 min readStart