![]() | the sleepy snakeindex :: path :: replace_ext | |
replace_ext(path, ext="", components=1)Replaces the file extension part of path and returns the resulting path. The default removes the extension. For a detailed description of the components keyword see get_ext() | ||