About 87 results
Open links in new tab
  1. pathlib — Object-oriented filesystem paths — Python 3.14.7 …

    19 hours ago · pathlib implements path operations using PurePath and Path objects, and so it’s said to be object-oriented. On the …

  2. File and Directory Access — Python 3.14.7 documentation

    19 hours ago · pathlib — Object-oriented filesystem paths Basic use Exceptions Pure paths General properties Operators Accessing …

  3. PEP 428 – The pathlib module – object-oriented filesystem paths

    Jul 30, 2012 · This PEP proposes the inclusion of a third-party module, pathlib, in the standard library. The inclusion is proposed …

  4. os.path — Common pathname manipulations — Python 3.14.7 …

    19 hours ago · os.path.basename(path, /) ¶ Return the base name of pathname path. This is the second element of the pair returned …

  5. os — Miscellaneous operating system interfaces — Python 3.14.7 ...

    Source code: Lib/os.py This module provides a portable way of using operating system dependent functionality. If you just want to …

  6. glob — Unix style pathname pattern expansion - Python

    19 hours ago · By default, files beginning with a dot (.) can only be matched by patterns that also start with a dot, unlike …

  7. Pathlib absolute () vs. resolve () - Python Help - Discussions on ...

    Nov 2, 2019 · The top search engine result for “pathlib absolute” is this StackOverflow question. The top answers given are: "use …

  8. Is there a `pathlib` equivalent of `os.scandir ()`?

    Feb 22, 2024 · I can’t say how the performance compares. But I would say Path.iterdir is the canonical pathlib equivalent to …

  9. PEP 519 – Adding a file system path protocol | peps.python.org

    May 11, 2016 · To help elevate the representation of file system paths from their representation as strings and bytes to a richer …

  10. Welcome to Python.org

    Among the new major new features and changes in the 3.4 release series are PEP 428, a "pathlib" module providing object-oriented …