+ 2
why __init__.py must be include in the directory??
1 Respuesta
+ 4
This file is not needed in all Python programs.
But it has to be included in Python Packages to mark directories on disk as a Python package directories. Plus it is the first file to be loaded in a module, so you can use it to execute code that you want to run each time a module is loaded.