Managing Imports With Python's __all__ Quiz

Interactive Quiz ⋅ 8 Questions
By Joseph Peart

In this quiz, you’ll test your understanding of Managing Imports With Python’s __all__.

By working through this quiz, you’ll revisit how wildcard imports work, what role the __all__ variable plays in modules and packages, and how to define a clean public API for your Python code.

The quiz contains 8 questions and there is no time limit. You’ll get 1 point for each correct answer. At the end of the quiz, you’ll receive a total score. The maximum score is 100%. Good luck!