'Prepend ``path`` to ``sys.path`` list of import locations.'

def syspath_prepend(self, path):

    if (self._savesyspath is None):
        self._savesyspath = sys.path[:]
    sys.path.insert(0, str(path))
