Skip to content

Glossary: Python Basics

import

Also written: importing

A statement that brings a module's tools into your program, such as `import random`. You then write the module name, a dot and the tool.

Where the book teaches it

Related terms

from ... import