Last active
October 16, 2020 13:30
-
-
Save galvez/589f5d42cc9e208a5989054beb4f36ee to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
from time import sleep | |
from pygame import mixer | |
mixer.init() | |
# Download file from https://freesound.org/people/Koyber/sounds/160483/ | |
mixer.music.load('white-rose.mp3') | |
mixer.music.play() | |
sleep(1) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
while true; do python white-rose.py; sleep 60; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
👍
Just found this by accident searching HN and laughed thinking "Jonas would write this."
Really clever!