Lines Matching full:pathlib
2 :mod:`pathlib` --- Object-oriented filesystem paths
5 .. module:: pathlib
10 **Source code:** :source:`Lib/pathlib.py`
22 .. image:: pathlib-inheritance.png
39 :pep:`428`: The pathlib module -- object-oriented filesystem paths.
51 >>> from pathlib import Path
64 PosixPath('pathlib.py'), PosixPath('docs/conf.py'),
65 PosixPath('build/lib/pathlib.py')]
276 from pathlib import PurePath, PurePosixPath, PureWindowsPath
554 File "pathlib.py", line 694, in relative_to
566 >>> p = PureWindowsPath('c:/Downloads/pathlib.tar.gz')
573 File "/home/antoine/cpython/default/Lib/pathlib.py", line 751, in with_name
586 >>> p = PureWindowsPath('c:/Downloads/pathlib.tar.gz')
593 File "/home/antoine/cpython/default/Lib/pathlib.py", line 861, in with_stem
595 File "/home/antoine/cpython/default/Lib/pathlib.py", line 851, in with_name
608 >>> p = PureWindowsPath('c:/Downloads/pathlib.tar.gz')
610 PureWindowsPath('c:/Downloads/pathlib.tar.bz2')
674 File "pathlib.py", line 798, in __new__
702 PosixPath('/home/antoine/pathlib')
797 [PosixPath('pathlib.py'), PosixPath('setup.py'), PosixPath('test_pathlib.py')]
806 [PosixPath('build/lib/pathlib.py'),
808 PosixPath('pathlib.py'),
816 .. audit-event:: pathlib.Path.glob self,pattern pathlib.Path.glob
1064 PosixPath('/home/antoine/pathlib')
1070 PosixPath('/home/antoine/pathlib/setup.py')
1087 [PosixPath('build/lib/pathlib.py'),
1089 PosixPath('pathlib.py'),
1093 .. audit-event:: pathlib.Path.rglob self,pattern pathlib.Path.rglob
1133 PosixPath('/home/antoine/pathlib/setup.py')
1246 :mod:`os` and :mod:`os.path` :mod:`pathlib`