Also called: module, package, from … import
Example
import requests at the top makes the package available in the script.
In code
import json
from pathlib import Path
from datetime import datetime, timedelta
import requests # installed with pip
Related terms
Added 2026-11-30 · Last reviewed 2026-11-30