relative path example in python Example: relative path python import sys,os sys.path.append(os.path.realpath('..'))