Explore Python Keywords Evolution from early Python versions to Python 3.12+. Understand how keywords changed over time, including additions, removals, and the introduction of soft keywords like match, case, and type.
Python Basics
Python Soft Keywords Explained: Meaning, History, List, Examples, and Differences from Reserved Keywords
Python Soft Keywords are context-dependent keywords introduced in Python 3.10 to support structural pattern matching without breaking existing code. In this guide, learn the meaning, history, list, and practical examples of Python soft keywords like match, case, and _, and understand how they differ from traditional reserved keywords.
Python Scope Keywords Explained (del, global, nonlocal) With Operator and Async Keywords Examples
Python scope keywords control how variables behave inside functions and nested scopes. In this guide, you’ll learn how del, global, and nonlocal work, along with important operator keywords and modern async programming keywords in Python.
Python Exception Handling Keywords Explained (With Boolean and Import Examples)
Python uses several special keywords to manage errors and program behavior. In this guide, you will learn Python Exception Handling Keywords like try, except, finally, and assert, along with Boolean keywords (True, False, None) and import-related keywords (import, from, as). Practical examples show how these keyword types work together in real Python programs.
Python Control Flow Keywords Explained (With Function and Class Examples)
Python Control Flow Keywords help control how a Python program runs. In this lesson, you’ll learn how decision keywords, loops, function keywords, and class-related keywords work together with clear examples.
Python Keywords Explained – What Are Reserved Keywords in Python?
Python Keywords Explained in simple terms. Understand what reserved keywords are, how they work in Python syntax, how they differ from identifiers and built-in functions, and how to check them using the keyword module.
Less Common Python Escape Sequences: \r, \b, \f, Unicode and More
In this lesson, we explore Less Common Python Escape Sequences such as \r, \b, \f, Unicode escapes, and other rarely used sequences. You’ll understand how they behave inside strings, where they are useful, and why some are considered outdated or less popular in modern Python development.
How Common Python Escape Sequences Work: \n, \t, \, and Quotes Explained
This lesson explains how common Python escape sequences work, including newline (\n), tab (\t), backslash (\), and quote characters. You’ll learn how Python interprets them inside strings and why they behave differently from normal characters.
Python Escape Sequences Explained: Meaning, Purpose, and How They Work
Python Escape Sequences allow special characters like newline, tab, and backslash to be used inside strings. In this lesson, you will clearly understand what escape sequences are, why they are needed, how they differ from escape characters, and how Python interprets them internally.
Block of Code and Nested Indentation in Python: Complete In-Depth Guide
This lesson explains Block of Code and Nested Indentation in Python in detail. Understand how Python defines code blocks, how nested indentation controls execution, and how proper structure improves readability and program flow.