def stop ( self ) : if self . isPlaying is True : self . _execute ( "stop" ) self . _changePlayingState ( False )
python how to stop playsound
Stops playback
def stop(self):
        """Stops playback"""
        if self.isPlaying is True:
            self._execute("stop")
            self._changePlayingState(False)