I am working on a project in PyCharm. The project has the following structure:
/projectRoot/ folder1/ somecode.py utils/ __init__.py
You can use utils package inside folder1 folder:
utils
folder1
Then the code will work either way:
from utils.myutils1 import myClass