Answers for "play beep python"

0

make beep python

import winsound
frequency = 2500  # Set Frequency To 2500 Hertz
duration = 1000  # Set Duration To 1000 ms == 1 second
winsound.Beep(frequency, duration)
Posted by: Guest on June-23-2020
0

Python beep

import beepy
beep(sound=1) # integer as argument
beep(sound='coin') # string as argument
Posted by: Guest on August-02-2021

Python Answers by Framework

Browse Popular Code Answers by Language