I am running Python 2.5.
This is my folder tree:
ptdraft/ nib.py simulations/ life/ life.py
(I also have __init
__init
I made this library to do this.
https://github.com/fx-kirin/add_parent_path
# Just add parent path add_parent_path(1) # Append to syspath and delete when the exist of with statement. with add_parent_path(1): # Import modules in the parent path pass