Hierarchy:
scripts/
web/
script1.py
tests/
script2.py
common/
utils.py
How would I import utils in script1 and script2, and still be able to run those scripts seperately (i.e., python script1.py
). Where would I place the __init__.py
files, and is that the correct way to go about this? Thank you!