mutapath.MutaPath.stripext

MutaPath.stripext()[source]

Remove one file extension from the path.

For example, Path('/home/guido/python.tar.gz').stripext() returns Path('/home/guido/python.tar').