def expand_path(path):
  return os.path.abspath(os.path.expandvars(os.path.expanduser(path)))
Returns ``path`` as an absolute path with ~user and env var expansion applied.
dataset/ETHPy150Open pantsbuild/pants/src/python/pants/fs/fs.py/expand_path