Examveda

What is the purpose of the __init__.py file in a Python module?

A. It indicates that the directory should be treated as a Python package

B. It contains the main code of the module

C. It defines a new class

D. It imports all modules in the directory

Answer: Option A


This Question Belongs to Python Program >> Module In Python

Join The Discussion

Related Questions on Module in Python