Broken Pygame Music Shuffler Python 3 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Broken Pygame Music Shuffler Python 3

Any time I run the program, I get an error saying "pygame error: Can't open ' '". Any one know how to fix this? Notes: 1) I am running this in VS Code 2) I am trying to pull a single music file from a folder (Thank you to lvl 1 crook for helping me figure out how to load a single file. I appreciate it) https://code.sololearn.com/c9sdT5lEMxLX/#py

3rd Oct 2019, 5:24 PM
Code Babylon
Code Babylon - avatar
3 Answers
0
Taste How would I return the full path of the folder? Neither of the links really helped, unfortunately.
3rd Oct 2019, 6:05 PM
Code Babylon
Code Babylon - avatar
0
i'm not really good with python unfortunately but peope on the net are https://stackoverflow.com/questions/9816816/get-absolute-paths-of-all-files-in-a-directory
3rd Oct 2019, 6:08 PM
Taste
Taste - avatar