+ 1

directory in Python

This statement below is everywhere on the internet but I have tried to run modules without __init__.py and it works perfectly fine. How ?

24th May 2019, 3:55 AM
harshit
harshit - avatar
1 ответ
0
The __init__ stands for initializer, and that is important for the module, so if you leave it out, it automatically adds to it a blank initializer
24th May 2019, 4:50 AM
Airree
Airree - avatar