When I have the following packages:
src
   /__main__.py
   /dir1
        /__init__.py
        /main_code1.py
        /service.py
        /config.py
   /dir2
       /__init__.py
       /maincode2.py
   /dir3
       /__init__.py
       /maincode3.py
What is the difference between using the following statement in the file __main__.py
import dir1
&
from dir1 import *
&
from dir1 import main_code1
The second question is: How to import maincode3.py (present in dir3) to the maincode.py script present in dir1? I am searching for way without changing sys.path list.
 
     
     
    