Skip to content
This repository has been archived by the owner on May 25, 2022. It is now read-only.

Commit

Permalink
Add 'break' after alarm plays sound.
Browse files Browse the repository at this point in the history
After alarm reaches alarm time it plays and continue looping.
I think after alarm sound clock has to stop.
  • Loading branch information
Tusharjungli authored Dec 29, 2021
1 parent 79294db commit 3e21acf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions projects/Alarm clock/alarm_clock.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ def alarm():
print("Time to Wake up")
# Playing sound
winsound.PlaySound("sound.wav",winsound.SND_ASYNC)
break

# Add Labels, Frame, Button, Optionmenus
Label(root,text="Alarm Clock",font=("Helvetica 20 bold"),fg="red").pack(pady=10)
Expand Down

0 comments on commit 3e21acf

Please sign in to comment.