Skip to content

Instantly share code, notes, and snippets.

@daryo918
Created April 30, 2013 22:03
Show Gist options
  • Save daryo918/5492298 to your computer and use it in GitHub Desktop.
Save daryo918/5492298 to your computer and use it in GitHub Desktop.
repro.py
#!/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