Q. What is the use of file __init__.py in a package even when it is empty?


Answer =

It indicates that, it is an importable python package, without __init__.py a folder is not considered a Python package.

2 Comments

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

  1. what does importable means here?


    ReplyDelete
    Replies
    1. Which help packages for importing it in program.

      Delete

Post a Comment

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Previous Post Next Post