ID EN
Pathlib

WindowsPath

Python 3.11 🇮🇩 Bahasa Indonesia

Sebuah subkelas dari Path dan PureWindowsPath, kelas ini mewakili jalur sistem file Windows yang konkret:

Syntax

PYTHON
class pathlib.WindowsPath(*pathsegments)

Contoh

Example 1
PYTHON
>>> WindowsPath('c:/Program Files/')
WindowsPath('c:/Program Files')

See Also

Path PureWindowsPath PurePath