When a package is imported, Python searches for _______ to determine the package's initialization.
- init.py
- main.py
- package.py
- startup.py
When a package is imported, Python searches for the __init__.py file to determine the package's initialization. This file is executed when the package is imported.
Loading...
Related Quiz
- Functions that return an iterator yielding items instead of a list are called _______.
- Which command is used in PDB (Python Debugger) to continue execution until the next breakpoint is encountered?
- How can you create a custom exception class in Python?
- How can you merge two dictionaries in Python?
- You have developed a machine learning model for a recommendation system. What evaluation metric would you use to assess the quality of the recommended items?