Python · Functions and objects

module

A Python file imported as a module.

Syntax
# utils.py
VERSION = "1.0"

Example coming soon

This entry has a definition and syntax. A runnable example is being added. Open the linked course to see the idea used in a full lesson.

Open the course

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course