def expandpath(path):
path = expanduser(path)<EOL>path = expandvars(path)<EOL>return path<EOL>
Wrapper around expanduser and expandvars.

Less aggressive than truepath. Only expands environs and tilde. Does not
change relative paths to absolute paths.

Args:
    path (PathLike): string representation of a path

Returns:
    PathLike : expanded path

Example:
    >>> import ubelt as ub
    >>> assert normpath(ub.expandpath('~/foo')) == join(ub.userhome(), 'foo')
    >>> assert ub.expandpath('foo') == 'foo'