Is there a function to extract the extension from a filename? 2 27 Tags: file-extensionfilenamespython