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
3 odpowiedzi
0
it seems that listdir not return the full path of the file
https://www.geeksforgeeks.org/JUMP_LINK__&&__python__&&__JUMP_LINK-os-listdir-method/
https://www.tutorialspoint.com/python/os_listdir.htm
0
Taste
How would I return the full path of the folder? Neither of the links really helped, unfortunately.
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