Welcome to Python101.tech!

Python101.tech is a completely free web-based learning resource.

Lectures in Python 101 start from installing and configuring Python and a text editor. The course is structured for systematic learning and is designed to provide the knowledge required to ultimately build a UI tool called "Directory Maker."

* This site is under active development; new posts are published approximately every 2–3 days. Updates may be delayed when the site maintainer is busy.

New

Curriculum

sec00 - Setup

    sec01 - Variables & Data Types

    Variables

    Numbers

    Strings

    sec02 - Data Structures

    list

    tuple

    dict

    set

    Type conversion & Unpacking

    sec03 - Control Flow

    if statements

    for & while loops

    Functions

    • sec03 - Defining Functions
    • sec03 - Function Arguments
    • sec03 - Scope

    Exception handling

    • sec03 - Exception Handling (try, except, else, finally)
    • sec03 - Custom Exceptions

    Instructor Environment

    • Windows 11
    • Python (3.13.5)
    • Visual Studio Code
    About the environment

    Students may follow the course using different environments.

    Behavior differs between Python 2 and Python 3. If you work in an older environment, test your code thoroughly to ensure it behaves as expected.

    If you use macOS or Linux, please consult the installation instructions for Python appropriate to your OS.

    You may use any text editor. The course demonstrates examples using Visual Studio Code, a free and widely used editor.

    Notes

    • This site is under active development; updates may be delayed when the maintainer is busy.
    • While articles are written with care regarding Python behavior, changes in Python or undiscovered bugs may alter behavior over time.
      • Behavior can also vary depending on the operating system (e.g., macOS or Linux).
      • The site maintainer is not responsible for any losses resulting from running Python code.
      • When using Python in product development, always test to confirm the behavior and results are as expected.
    • If you find typos or incorrect information in articles, please notify us in the comments section of the relevant page.

    Recent Posts