PyDocs

Nav

File and Directory Access

PurePath.with_segments

pathlib

method of PurePath · Added in 3.12 (source)
  • PurePath.with_segments(*pathsegments)
Construct a new path object from any number of path-like objects.
Subclasses may override this method to customize how new path objects
are created from methods like `iterdir()`.
0 Examples
No examples for pathlib/PurePath.with_segments.
See Also
No see-alsos for pathlib/PurePath.with_segments
0 Notes
No notes for PurePath.with_segments