[Pygame] chargement de music (mp3)
Salut
Je voulais charger un morceau de music mp3 avec pygame, alors j'ai procédé comme suit:
Code:
1 2 3 4 5 6 7 8
| >>> import pygame
>>> pygame.init()
(6, 0)
>>> pygame.mixer.music.load("c:\NoDoubt-DontSpeak.mp3")
Traceback (most recent call last):
File "<pyshell#3>", line 1, in ?
pygame.mixer.music.load("c:\NoDoubt-DontSpeak.mp3")
error: Module format not recognized |
Que faire pour corrige ce problème
Note: ce morceau de music marche très bien avec (wmp, winamp, realone...)
Z