“Python Beep” Respostas de código

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)
Cylon

Python Beep

import beepy
beep(sound=1) # integer as argument
beep(sound='coin') # string as argument
Yucky Yak

Faça um bipe Python

import winsound
frequency = 2500  # Set Frequency To 2500 Hertz
duration = 1000  # Set Duration To 1000 ms == 1 second
winsound.Beep(frequency, duration)
Breakable Butterfly

Respostas semelhantes a “Python Beep”

Perguntas semelhantes a “Python Beep”

Procure respostas de código populares por idioma

Procurar outros idiomas de código