Why couldn't open song in pygame module ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why couldn't open song in pygame module ?

Traceback (most recent call last): Mixer.music.load("1.mp3") PyGame.error:couldn't open '1.mp3'

29th Oct 2020, 3:15 PM
AHMAD RAJAIE
AHMAD RAJAIE - avatar
3 Answers
+ 1
AHMAD RAJAIE Make sure that the file exists in that location and you have permissions to that file.
29th Oct 2020, 8:52 PM
Maxwell Anderson
Maxwell Anderson - avatar
0
No I try it in pc
29th Oct 2020, 3:30 PM
AHMAD RAJAIE
AHMAD RAJAIE - avatar
0
How to permission to a file?
30th Oct 2020, 3:33 PM
AHMAD RAJAIE
AHMAD RAJAIE - avatar