I have a package directory structure as follows
root-
|
Common (contains __init__.py file)
WindowsComponen ts (contains __init__.py file)
...
I would like modules in the WindowsComponen ts directory to be able to
import some modules from the Common directory. In my first pass, I was
able to append sys.path ( sys.path.append ('../Common') ) in each module
that wants to import from Common, but this feels "clunky". Is there a
"standard"/"best" way to accomplish this?
--ERick
root-
|
Common (contains __init__.py file)
WindowsComponen ts (contains __init__.py file)
...
I would like modules in the WindowsComponen ts directory to be able to
import some modules from the Common directory. In my first pass, I was
able to append sys.path ( sys.path.append ('../Common') ) in each module
that wants to import from Common, but this feels "clunky". Is there a
"standard"/"best" way to accomplish this?
--ERick