abspath(path) |
Return the absolute version of a path. [extrait de abspath.__doc__] |
basename(p) |
Returns the final component of a pathname [extrait de basename.__doc__] |
commonpath(paths) |
Given an iterable of path names, returns the longest common sub-path. [extrait de commonpath.__doc__] |
commonprefix(m) |
Given a list of pathnames, returns the longest common leading component [extrait de commonprefix.__doc__] |
dirname(p) |
Returns the directory component of a pathname [extrait de dirname.__doc__] |
expanduser(path) |
Expand ~ and ~user constructs. [extrait de expanduser.__doc__] |
expandvars(path) |
Expand shell variables of the forms $var, ${var} and %var%. [extrait de expandvars.__doc__] |
getatime(filename) |
Return the last access time of a file, reported by os.stat(). [extrait de getatime.__doc__] |
getctime(filename) |
Return the metadata change time of a file, reported by os.stat(). [extrait de getctime.__doc__] |
getmtime(filename) |
Return the last modification time of a file, reported by os.stat(). [extrait de getmtime.__doc__] |
getsize(filename) |
Return the size of a file, reported by os.stat(). [extrait de getsize.__doc__] |
isabs(s) |
Test whether a path is absolute [extrait de isabs.__doc__] |
isdevdrive(path) |
Determines whether the specified path is on a Windows Dev Drive. [extrait de isdevdrive.__doc__] |
ismount(path) |
Test whether a path is a mount point (a drive root, the root of a [extrait de ismount.__doc__] |
isreserved(path) |
Return true if the pathname is reserved by the system. [extrait de isreserved.__doc__] |
join(path, *paths) |
|
normcase(s) |
Normalize case of pathname. [extrait de normcase.__doc__] |
realpath(path, *, strict=False) |
|
relpath(path, start=None) |
Return a relative version of a path [extrait de relpath.__doc__] |
samefile(f1, f2) |
Test whether two pathnames reference the same actual file or directory [extrait de samefile.__doc__] |
sameopenfile(fp1, fp2) |
Test whether two open file objects reference the same file [extrait de sameopenfile.__doc__] |
samestat(s1, s2) |
Test whether two stat buffers reference the same file [extrait de samestat.__doc__] |
split(p) |
Split a pathname. [extrait de split.__doc__] |
splitdrive(p) |
Split a pathname into drive/UNC sharepoint and relative path specifiers. [extrait de splitdrive.__doc__] |
splitext(p) |
Split the extension from a pathname. [extrait de splitext.__doc__] |
Améliorations / Corrections
Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.
Emplacement :
Description des améliorations :