You'll need to install the library beforehand via pip.
# from the command line
python -m pip install chime
# from jupyter
%pip install chime
Given that you've installed it, you should be able to check out the difference sounds.
import chime
chime.success()
chime.warning()
chime.error()
chime.info()
The sounds you hear will depend on the current theme.
# show the available themes
chime.themes()
# change the theme
chime.theme('mario')