title: Separating file extensions using python os.path module
body: <p>I'm working in python with <code>os.path.splitext()</code> and curious if it is possible to separate filenames from extensions with multiple "."?  e.g.  "foobar.aux.xml" using splitext. Filenames vary from [foobar, foobar.xml, foobar.aux.xml].  Is there a better way? </p>