I\'m building a simple helper script for work that will copy a couple of template files in our code base to the current directory. I don\'t, however, have the absolute path
you need os.path.realpath (sample below adds the parent directory to your path)
os.path.realpath
import sys,os sys.path.append(os.path.realpath('..'))