code: def stem(self):
          
          base, ext = self.module.splitext(self.name)
          return base
docs: The same as :meth:`name`, but with one file extension stripped off.
  
          >>> Path('/home/guido/python.tar.gz').stem
          'python.tar'