-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
This how to do absolute imports which will let you retrieve stuff like functions and classes from a parent module or a a different submodule.
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
- This basically says go find the absolute path, and then find the directory name that you want to look at, then append to the current running Python Path
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels