Created
October 14, 2014 19:55
-
-
Save mlovci/73a5d627cfb693dec671 to your computer and use it in GitHub Desktop.
This file contains 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
def muzak(ob): | |
from IPython.display import HTML | |
from IPython.display import display | |
sound_tag = """ | |
<audio controls autoplay> | |
<source src="http://k007.kiwi6.com/hotlink/9edy0q33fi/jazzy_elevator_music.mp3" type="audio/mpeg"> | |
</audio> | |
""" | |
display(HTML(sound_tag)) | |
return ob | |
@muzak | |
def myfunc(): | |
print "my function" | |
myfunc() | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment