Sign in to access Teach Me mode
Sign in to ask questions
Copy as MarkdownCtrl+⇧+C
Chapter 63 Quiz
Before taking the quiz, verify that you can do each of these without looking at the lessons:
- Create a module by placing a class in a separate
.pyfile and importing it - Build a package with
__init__.pythat re-exports key names - Explain what
__name__contains when a file is run directly vs imported - Create a
__main__.pyentry point and run a package withpython -m - Identify a circular import from an error message and apply a fix strategy
- Explain why star imports are dangerous and how namespace collisions occur
If any feel uncertain, revisit the specific lesson before continuing.
Test your understanding of the full module and package system by evaluating import behavior, package design, dependency management, and import best practices.
Checking access...