[Python-Dev] Pathlib enhancments - method name only (original) (raw)

Greg Ewing greg.ewing at canterbury.ac.nz
Sun Apr 10 01:58:08 EDT 2016


Brett Cannon wrote:

Depends if you use / or \ as your path separator

Or whether your pathnames look entirely different, e.g VMS:

device:[topdir.subdir.subsubdir]filename.ext;version

Pathnames are very much OS-dependent in both syntax and semantics.

Even the main two in use today (unix and windows) can't be mapped directly onto each other, because windows has drive letters and unix doesn't.

-- Greg



More information about the Python-Dev mailing list