Returns the final component of a pathname.
See http://docs.python.org/library/os.path.html#os.path.basename
|
code » | ||
Use goog.string.path.baseName.
Alias to goog.string.path.baseName.
|
code » | ||
Returns the directory component of a pathname.
See http://docs.python.org/library/os.path.html#os.path.dirname
|
code » | ||
Extracts the extension part of a pathname.
|
code » | ||
Joins one or more path components (e.g. 'foo/' and 'bar' make 'foo/bar').
An absolute component will discard all previous component.
See http://docs.python.org/library/os.path.html#os.path.join
Arguments:
Returns: string
The path components joined.
|
code » | ||
Normalizes a pathname by collapsing duplicate separators, parent directory
references ('..'), and current directory references ('.').
See http://docs.python.org/library/os.path.html#os.path.normpath
|
code » | ||
Splits a pathname into "dirname" and "baseName" components, where "baseName"
is everything after the final slash. Either part may return an empty string.
See http://docs.python.org/library/os.path.html#os.path.split
|
code » |