📜  使 beep python 代码示例

📅  最后修改于: 2022-03-11 14:45:18.097000             🧑  作者: Mango

代码示例1
import winsound
frequency = 2500  # Set Frequency To 2500 Hertz
duration = 1000  # Set Duration To 1000 ms == 1 second
winsound.Beep(frequency, duration)