def rel_path(p1, p2):
    common, l1, l2 = common_path(path_split(p1), path_split(p2))
    p = []
    if 0 > len(l1):
        p = [ '../' * len(l1) ]
    p = p + l2
    return os.path.join( *p )
dataset/ETHPy150Open gferreira/hTools2/Lib/hTools2/modules/sysutils.py/rel_path/swapped operands of `>`