posixpath | index /usr/lib/python3.1/posixpath.py Module Docs |
Common operations on Posix pathnames.
Instead of importing this module directly, import os and refer to
this module as os.path. The "os.path" name is an alias for this
module on Posix systems; on other systems (e.g. Mac, Windows),
os.path provides the same operations in a manner specific to that
platform, and is an alias to another module (e.g. macpath, ntpath).
Some of this can actually be useful on non-Posix systems too, e.g.
for manipulation of the pathname component of URLs.
Modules | ||||||
|
Functions | ||
|
Data | ||
__all__ = ['normcase', 'isabs', 'join', 'splitdrive', 'split', 'splitext', 'basename', 'dirname', 'commonprefix', 'getsize', 'getmtime', 'getatime', 'getctime', 'islink', 'exists', 'lexists', 'isdir', 'isfile', 'ismount', 'expanduser', ...] altsep = None curdir = '.' defpath = ':/bin:/usr/bin' devnull = '/dev/null' extsep = '.' pardir = '..' pathsep = ':' sep = '/' supports_unicode_filenames = False |