Feb-23-2017, 04:30 AM
On running main.py. I'm getting the following error
Python files
main.py
Quote:ModuleNotFoundError: No module named 'dir2'
Python files
main.py
import dir1__init__.py
import dir2are organized as follows
src | +-- main.py | +-- dir1 | +-- __init__.py | +-- dir2Can anybody tell why the code in __init__.py cannot recognize directory dir2