The _______ file is required to recognize a directory as a Python package.
- init.py
- main.py
- packageinfo.py
- setup.py
The 'init.py' file is required to recognize a directory as a Python package. It can be an empty file or contain initialization code for the package.
Loading...
Related Quiz
- How can you access the last element of a list named my_list?
- If you have a break in the inner nested loop, will it terminate only the inner loop or both inner and outer loops?
- How can you merge two dictionaries in Python?
- In Python, the ____ method of a unittest TestCase is run before each test method is executed.
- How do you instantiate an object from a class in Python?