Created
April 30, 2013 22:03
-
-
Save daryo918/5492298 to your computer and use it in GitHub Desktop.
repro.py
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
#!/usr/bin/env python | |
import time | |
import pygame | |
from pygame.locals import* | |
pygame.mixer.init() | |
try: | |
XD=raw_input("nombre de la cancion>") | |
pygame.mixer.music.load(XD) | |
pygame.mixer.music.play(1) | |
raw_input("presione enter para acabar de reproducir") | |
except: | |
print "error" | |
time.sleep(2) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment