Differences between revisions 3 and 4
Revision 3 as of 2023-03-01 18:10:51
Size: 1765
Comment:
Revision 4 as of 2023-03-02 16:03:12
Size: 1834
Comment:
Deletions are marked like this. Additions are marked like this.
Line 9: Line 9:
== AbsPath == == Usage ==

=
== AbsPath ===
Line 17: Line 19:
== BaseName == === BaseName ===
Line 25: Line 27:
== CommonPath ==

----



== CommonPrefix ==

----



== DirName ==
=== CommonPath ===

----



=== CommonPrefix ===

----



=== DirName ===
Line 45: Line 47:
== Exists == === Exists ===
Line 53: Line 55:
== ExpandUser == === ExpandUser ===
Line 61: Line 63:
== ExpandVars ==

----



== GetATime ==

----



== GetCTime ==

----



== GetMTime ==

----



== GetSize ==

----



== IsAbs ==
=== ExpandVars ===

----



=== GetATime ===

----



=== GetCTime ===

----



=== GetMTime ===

----



=== GetSize ===

----



=== IsAbs ===
Line 99: Line 101:
== IsDir == === IsDir ===
Line 107: Line 109:
== IsFile == === IsFile ===
Line 115: Line 117:
== IsLink == === IsLink ===
Line 123: Line 125:
== Join == === Join ===
Line 131: Line 133:
== NormCase ==

----



== NormPath ==

----



== RealPath ==
=== NormCase ===

----



=== NormPath ===

----



=== RealPath ===
Line 151: Line 153:
== RelPath == === RelPath ===
Line 159: Line 161:
== SameFile == === SameFile ===
Line 167: Line 169:
== SameOpenFile ==

----



== SameStat ==

----



== Split ==

----



== SplitDrive ==

----



== SplitExt ==
=== SameOpenFile ===

----



=== SameStat ===

----



=== Split ===

----



=== SplitDrive ===

----



=== SplitExt ===

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)