For example,
import winsound
winsound.Beep(
If you type (frequency, duration) with a yellow box at the bottom - a wrapper (hereinafter omitted) There are times when this message doesn't come up even if you type (and wait). How can I see it?
For your information, I am currently studying with Python idle.
python
To use Beep
You must give values of frequency and duration.
import winsound
frequency = 2500
duration = 1000
winsound.Beep(frequency, duration)
Or you can do this
winsound.Beep(2500, 1000)
© 2024 OneMinuteCode. All rights reserved.