ID EN
Pathlib

PureWindowsPath

Python 3.11

A subclass of PurePath, this path flavour represents Windows filesystem paths, including UNC paths:

Syntax

PYTHON
class pathlib.PureWindowsPath(*pathsegments)

Examples

Example 1
PYTHON
>>> PureWindowsPath('c:/Program Files/')
PureWindowsPath('c:/Program Files')
>>> PureWindowsPath('//server/share/file')
PureWindowsPath('//server/share/file')

See Also

PurePath PurePath