🔵 🔵 🔵


Primary

၊၊||၊|။

pathlib.Path() ⚬|Documentation|1st|20251125122710-00-⌔

pathlib — Object-oriented filesystem paths — Python 3.14.0 documentation#pathlib.Path

class pathlib.Path(﹡pathsegments)

A subclass of PurePath, this class represents concrete paths of the system’s path flavour (instantiating it creates either a PosixPath or a WindowsPath):

>>> Path('setup.py')
PosixPath('setup.py')

pathsegments is specified similarly to PurePath.

Printed 2026-06-28.

(echo:: @ )

Link to original

Secondary

• • •