Hey I have a tree structure with an empty init.py in each directory/subdirectory. However, I get a failed to load module Utilities from my Home directory .py file.
Using python 3.7
My tree looks like the following:
C:.
├───Tests
│ ├───Checkout
│ ├───GlobalFooter
│ ├───GlobalHeader
│ │ └───__pycache__
│ ├───Home
│ │ └───__pycache__
│ ├───MyAccount
│ ├───ProductDetail
│ ├───ProductResults
│ │ └───__pycache__
│ └───SignIn
└───Utilities
└───__pycache__
I have tried the following:
sys.path.insert(0, 'C:/Web2/TSC.WebFactory.Web2.Tests/Utilities')
from Utilities.utils import addCookies, configureOptions