Answers for "how to install beep in windows in python"

1

python beep windows

# https://stackoverflow.com/a/6537563
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 May-02-2021

Code answers related to "how to install beep in windows in python"

Python Answers by Framework

Browse Popular Code Answers by Language