A

Admin • 833.24K Points
Coach

Q. Which file is required to make a directory a Python package?

  • (A) package.py
  • (B) __init__.py
  • (C) index.py
  • (D) start.py
  • Correct Answer - Option(B)
  • Views: 26
  • Filed under category Django
  • Hashtags:

Explanation by: Admin

`__init__.py` tells Python to treat the directory as a package.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.