This is a very simple package that enables you to make a beep sound in python.
- Python 3
- sox
(I have stopped using python for a long time, but according to @Cediddi, you need to sudo apt-get install libsox-fmt-mp3 on Ubuntu.)
pip3 install --upgrade pybeep
from pybeep.pybeep import PyVibrate, PyBeep PyVibrate().beep() PyVibrate().beepn(3) PyBeep().beep() PyBeep().beepn(3)