python-project-structure
python-project-structure copied to clipboard
from import
If the two project have the same utils folder, how to import it from different package? If the package_name2 have the main.py and use utils. I find the python always search the package_name1 utils
project_name
├── src
│ └── package_name1
│ ├── utils
│ └── __init__.py
│ └── package_name2
│ ├── utils
│ └── __init__.py