goog.string.path
Functions
expand_more
baseName( path ) → string
string
expand_more
basename( path ) → string
string
expand_more
dirname( path ) → string
string
expand_more
extension( path ) → string
string
expand_more
join( ...var_args ) → string
string
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
Parameters |
| ||||
---|---|---|---|---|---|
Returns |
|
expand_more
normalizePath( path ) → string
string
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
Parameters |
| ||||
---|---|---|---|---|---|
Returns |
|