Differences between revisions 1 and 5 (spanning 4 versions)
Revision 1 as of 2023-03-01 15:04:44
Size: 1245
Comment:
Revision 5 as of 2023-04-24 21:08:04
Size: 1874
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
## page was renamed from Python/OsPath
Line 9: Line 10:
== AbsPath == == Usage ==

=
== AbsPath ===
Line 17: Line 20:
== BaseName == === BaseName ===
Line 25: Line 28:
== DirName == === CommonPath ===

----



=== CommonPrefix ===

----



=== DirName ===
Line 33: Line 48:
== Exists == === Exists ===
Line 41: Line 56:
== ExpandUser == === ExpandUser ===
Line 49: Line 64:
== IsAbs == === ExpandVars ===

----



=== GetATime ===

----



=== GetCTime ===

----



=== GetMTime ===

----



=== GetSize ===

----



=== IsAbs ===
Line 57: Line 102:
== IsDir == === IsDir ===
Line 65: Line 110:
== IsFile == === IsFile ===
Line 73: Line 118:
== IsLink == === IsLink ===
Line 81: Line 126:
== Join == === Join ===
Line 89: Line 134:
== RealPath == === NormCase ===

----



=== NormPath ===

----



=== RealPath ===
Line 97: Line 154:
== RelPath == === RelPath ===
Line 105: Line 162:
== SameFile == === SameFile ===
Line 113: Line 170:
== SplitExt == === SameOpenFile ===

----



=== SameStat ===

----



=== Split ===

----



=== SplitDrive ===

----



=== SplitExt ===
Line 117: Line 198:
----



== See also ==

[[https://docs.python.org/3/library/os.path.html|Python os.path module documentation]]

Python Os Path


Usage

AbsPath

See Path.absolute.


BaseName

See Path.name.


CommonPath


CommonPrefix


DirName

See Path.parent.


Exists

See Path.exists.


ExpandUser

See Path.expanduser and Path.home.


ExpandVars


GetATime


GetCTime


GetMTime


GetSize


IsAbs

See Path.is_absolute.


IsDir

See Path.is_dir.


IsFile

See Path.is_file.


See Path.is_symlink.


Join

See Path.joinpath.


NormCase


NormPath


RealPath

See Path.resolve.


RelPath

See Path.relative_to.


SameFile

See Path.samefile.


SameOpenFile


SameStat


Split


SplitDrive


SplitExt

See Path.stem and Path.suffix.


See also

Python os.path module documentation


CategoryRicottone

Python/Os/Path (last edited 2023-10-11 19:43:17 by DominicRicottone)