def nativepath(d):
    if os.name == 'nt':
        return winpath(d)
    return unixpath(d)
ensure path uses delimiters for current OS
dataset/ETHPy150Open xraypy/xraylarch/plugins/io/fileutils.py/nativepath