in python how to specify relative directory code example Example: relative path python import sys,os sys.path.append(os.path.realpath('..'))