>>> import pathlib
>>> p = pathlib.PureWindowsPath(r'diranotherdirfoodirmore')
>>> print(p)
diranotherdirfoodirmore
>>> print(p.as_posix())
/dir/anotherdir/foodir/more
>>> str(p)
'diranotherdirfoodirmore'
>>> str(p.as_posix())
'/dir/anotherdir/foodir/more'