Return the string representation of the path with forward (/) slashes.
>>> p = PureWindowsPath('c:\\windows') >>> str(p) 'c:\\windows' >>> p.as_posix() 'c:/windows'
pathlib/PurePath.as_posix
PurePath.as_posix