Expand the path with the directory of the executed file.

def expand_path(*paths):
    """Expand the path with the directory of the executed file."""
    return os.path.join(
        os.path.dirname(os.path.realpath(sys.argv[0])), *paths)