I wouldn’t call it “happy”. Forward slash is only ever supported in the Windows API by creating a normalized copy of a path. The native NT API has no support at all for using forward slash as a path separator. Also, even in the Windows file namespace, forward slash is not supported in “\\?\” extended paths and not supported by various file API functions, such as the entire path API. Also, third-party applications and libraries may not support forward slash in paths (e.g. on the command line), possibly because they rely on the path API. It’s easy to just normalize paths. pathlib.Path always does this. Otherwise use os.path.normpath().