|
Orbits
1
|
Functions | |
| def | exists |
| def | isfile |
| def | isdir |
| def | getsize |
| def | getmtime |
| def | getatime |
| def | getctime |
| def | commonprefix |
| def | _splitext |
Variables | |
| list | __all__ |
Path operations common to more than one OS Do not use directly. The OS specific modules import the appropriate functions from this module themselves.
|
private |
Split the extension from a pathname. Extension is everything from the last dot to the end, ignoring leading dots. Returns "(root, ext)"; ext may be empty.
| def genericpath.commonprefix | ( | m | ) |
| def genericpath.exists | ( | path | ) |
Test whether a path exists. Returns False for broken symbolic links
| def genericpath.getatime | ( | filename | ) |
Return the last access time of a file, reported by os.stat().
| def genericpath.getctime | ( | filename | ) |
Return the metadata change time of a file, reported by os.stat().
| def genericpath.getmtime | ( | filename | ) |
Return the last modification time of a file, reported by os.stat().
| def genericpath.getsize | ( | filename | ) |
Return the size of a file, reported by os.stat().
| def genericpath.isdir | ( | s | ) |
Return true if the pathname refers to an existing directory.
| def genericpath.isfile | ( | path | ) |
Test whether a path is a regular file
| list genericpath.__all__ |
1.8.3.1
Copyright 2014 Google Inc. All rights reserved.