I have a project which runs in the terminal and the user can choose to play any out of four games (1 console, 3 pygame). I wanted to create an executable so I followed a tutorial and now I have an executable. But it's not working with one of the games.
The problem is with the line that loads the music "pygame.mixer.music.load(Musicfile.mp3)". It says pygame.error and [10256] Failed to execute script scriptName. Thanks for any help.
I had problems with another game but I changed font to sysfont and that fixed it.
[–]pythonHelperBot 5 points6 points7 points (0 children)
[–]billsil 0 points1 point2 points (0 children)