Ver Mensaje Individual
  #3 (permalink)  
Antiguo 08/07/2013, 15:08
Montes28
 
Fecha de Ingreso: septiembre-2010
Mensajes: 1.853
Antigüedad: 13 años, 7 meses
Puntos: 6
Respuesta: incluir sonido en interfaz de usuario

acabo de encontrar otro ejemplo

Código Python:
Ver original
  1. import winsound
  2. # Play Windows exit sound.
  3. winsound.PlaySound("SystemExit", winsound.SND_ALIAS)
  4.  
  5. # Probably play Windows default sound, if any is registered (because
  6. # "*" probably isn't the registered name of any sound).
  7. winsound.PlaySound("*", winsound.SND_ALIAS)


pero lo prueba con prueba.wma y no funciona