MiniCTRMSearch

MiniCTRM - Tutorial: Intro to Python - Metals

→ to begin · N for the speaker notes

On a phone: Next or a swipe left to begin, Notes for the words.

What you'll learn

  • Modules and imports – Projects, packages and modules, and how one imports another.
  • Classes and functions – Indentation, extending CtrmScript, self, and plain functions.
  • Types and collections – Values without declared types; lists, tuples and dicts; slicing.
  • Loops and decisions – for ... in, range, if and elif, a list in one line, and errors.
  • Your own module – A project referencing Samples (Python), basics written and run, and autocomplete.

Copyright 2026-2027 Brian Shydlo. MiniCTRM is source-available under the PolyForm Strict License 1.0.0 (https://polyformproject.org/licenses/strict/1.0.0): free for learning and other noncommercial use; no changes and no redistribution; commercial use needs permission.

Welcome

Python, the MiniCTRM way

1 / 23
Python, the MiniCTRM way
Modules and imports

Projects, packages and modules

2 / 23
Projects, packages and modules
Modules and imports

Imports

3 / 23
Imports
Classes and functions

Indentation is the braces

4 / 23
Indentation is the braces
Classes and functions

self, written out

5 / 23
self, written out
Classes and functions

Functions and methods

6 / 23
Functions and methods
Types and collections

Types without declarations

7 / 23
Types without declarations
Types and collections

Lists, tuples and dicts

8 / 23
Lists, tuples and dicts
Types and collections

Slicing

9 / 23
Slicing
Loops and decisions

Looping through a list

10 / 23
Looping through a list
Loops and decisions

Counting, and decisions

11 / 23
Counting, and decisions
Loops and decisions

A list in one line

12 / 23
A list in one line
Your own module

Two projects, linked

13 / 23
Two projects, linked
Your own module

A module named basics

14 / 23
A module named basics
Your own module

Everything at once

15 / 23
Everything at once
Your own module

Read it top to bottom

16 / 23
Read it top to bottom
Your own module

How autocomplete works

17 / 23
How autocomplete works
Your own module

Run it

18 / 23
Run it
Your own module

What it said

19 / 23
What it said
Where to go next

Can a script open a window?

20 / 23
Can a script open a window?
Where to go next

Every method, with an example

21 / 23
Every method, with an example
Where to go next

What Purge removes

22 / 23
What Purge removes
Where to go next

From here

23 / 23
From here

You have finished lesson 484, Intro to Python.

Where next?

← → move · N notes · Home / End