python-project-structure icon indicating copy to clipboard operation
python-project-structure copied to clipboard

from import

Open alicera opened this issue 4 years ago • 0 comments

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

alicera avatar Sep 28 '21 07:09 alicera