Skip to main content
Edited question title and removed language tag.
Link
martineau
  • 124.1k
  • 29
  • 181
  • 319

Python: Sound alarm when code finishes

Readability, style, brevity.
Link
Alfred Huang
  • 18.4k
  • 33
  • 128
  • 196

Python: Sound alarm when code finishes

how do i make my code sound an Sound alarm when itcode finishes running?

I am in a situation where my code takes extremely long to run and I don't want to be staring at it all the time but want to know when it is done.

How can I make the (pythonPython) code sort of sound an "alarm" when it is done? I was contemplating making it play a .wav file when it reaches the end of the code... is

Is this even a feasible idea? and if If so, how could I do it?

thanks!

how do i make my code sound an alarm when it finishes running?

I am in a situation where my code takes extremely long to run and I don't want to be staring at it all the time but want to know when it is done.

How can I make the (python) code sort of sound an "alarm" when it is done? I was contemplating making it play a .wav file when it reaches the end of the code... is this even a feasible idea? and if so, how could I do it?

thanks!

Sound alarm when code finishes

I am in a situation where my code takes extremely long to run and I don't want to be staring at it all the time but want to know when it is done.

How can I make the (Python) code sort of sound an "alarm" when it is done? I was contemplating making it play a .wav file when it reaches the end of the code...

Is this even a feasible idea? If so, how could I do it?

Source Link
mtigger
  • 2.6k
  • 3
  • 17
  • 17
Loading