“Bip python” Réponses codées

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

Bip python

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

faire du bip 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

Réponses similaires à “Bip python”

Questions similaires à “Bip python”

Parcourir les réponses de code populaires par langue

Parcourir d'autres langages de code