def law_home_path(*paths):
    """
    Returns the law home directory (``$LAW_HOME``) that defaults to ``"$HOME/.law"``, optionally
    joined with *paths*.
    """
    home = os.getenv("LAW_HOME", "$HOME/.law")
    home = os.path.expandvars(os.path.expanduser(home))
    return os.path.normpath(os.path.join(home, *paths))
def law_home_path ( * paths ) : home = os . getenv ( "LAW_HOME" , "$HOME/.law" ) home = os . path . expandvars ( os . path . expanduser ( home ) ) return os . path . normpath ( os . path . join ( home , * paths ) )
Returns the law home directory (``$LAW_HOME``) that defaults to ``"$HOME/.law"``, optionally
    joined with *paths*.