image

the sleepy snake

index :: path :: get_file

get_file(path, stripext=False, components=1)

Returns the file part of a path. If 'stripext' is True, the file extension part is removed from the resulting filename

For a detailed description of the components keyword see get_ext()