CBSE Class 12 Computer Science Question 31 of 62

Using Python Libraries — Question 5

Back to all questions
5
Question

Question 5

A folder having .py files along with a special file i.e, __init__.py in it is an importable Python package.

Answer

True

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