Question 1 of 5
What is the main purpose of a Python package?
Think about how a larger project organizes related modules.
A package provides a namespace for related modules and subpackages.
Review this lesson
Check your understanding of packages, __init__.py, dotted imports, and relative imports.
Knowledge check
Check your understanding of packages, __init__.py, dotted imports, and relative imports.
You can retake this quiz whenever you like.
Question 1 of 5
Question 2 of 5
Question 3 of 5
Question 4 of 5
Question 5 of 5