from pathlib import Path


def fullpath(path_or_str=''):
    """
    Path: Expand path relative to current working directory.
    Accepts string or pathlib.Path input. String can include '~'.
    Does not expand absolute paths. Does not resolve dots.
    """
    path = Path(path_or_str).expanduser()
    if not path.is_absolute():
        path = Path.cwd().resolve()/path

    return path