def as_relative(path):
    path = os.path.splitdrive(path)[1]
    return path.lstrip(os.sep)
Convert path to relative by stripping away the leading '/' on UNIX or
dataset/ETHPy150Open ARM-software/workload-automation/wlauto/utils/misc.py/as_relative