from pathlib import Path


def getDir(*args):
    """
        Returns a Path from $HOME/rl_results/ and the extra
        folders given as args.
    """
    dr = Path.home()
    adds = ["rl_results", *args]
    for s in adds:
        dr /= s
    return dr