Closed leoluyi closed 4 years ago
Won't this break on windows?
from pathlib import Path, PureWindowsPath
l = Path('/home/pedro/')
w = PureWindowsPath('c:\\windows')
print(str(l)) # /home/pedro
print(str(w)) # c:\window
print(l.as_posix()) # /home/pedro
print(w.as_posix()) # c:/windows
@tamago324 can you try this out?
@tamago324 can you try this out?
@petobens Yes. I'll give it a try!
@petobens I was able to confirm that it worked fine on Windows.
@tamago324 thanks! Merging
@petobens Thank you so much!
Fix
Path
object inshutil