Expand description
Path helpers.
Functionsยง
- normalize
- Normalize
pathby resolving.and..components lexically (without touching the file system). Absolute paths that walk above the root are clamped at the root. - stem_
ext - Return the file stem and extension as
(stem, ext). Both are""when the component is absent. - with_
extension - Replace the extension of
pathwithnew_ext. Ifnew_extis empty the extension (and its leading.) is removed.