CBSE Class 12 Computer Science Question 7 of 62

Using Python Libraries — Question 2

Back to all questions
2
Question

Question 2

Which file must be part of the folder containing Python module files to make it importable Python package ?

  1. init.py
  2. __setup__.py
  3. __init__.py
  4. setup.py
Answer

__init__.py

Reason — The file __init__.py in a folder, indicates it is an importable Python package, without __init__.py, a folder is not considered a Python package.