Package

A package is a mechanism for organizing code.

Python Example

Details on Python packages can be found here.

# Import an entire package.
import gc

# Display the contents of a package.
dir(gc)

# Import selected modules from a package.
from gc import get_count, get_debug

# Use the package.
gc.get_count( )