⌨️ap computer science principles review

Importing a module

Written by the Fiveable Content Team • Last updated August 2025
Verified for the 2026 exam
Verified for the 2026 examWritten by the Fiveable Content Team • Last updated August 2025

Definition

Importing a module in Python allows you to access and use the functions, variables, and classes defined in that module. It enables code reusability and helps avoid writing the same code multiple times.

"Importing a module" also found in:

2,589 studying →