Am I supposed to rename my folder or somewhat change the pathway? /u/MusicAnime Python Education

XXX@Mac ~ % python3 /Users/XXX/Downloads/Sky-Music-Player-main/test copy.py

Please select a song with the corresponding number.

Traceback (most recent call last):

File “/Users/XXX/Downloads/Sky-Music-Player-main/test copy.py”, line 177, in <module>

song_list = os.listdir(“./songs/”)

FileNotFoundError: [Errno 2] No such file or directory: ‘./songs/’

——–
Im trying to get it to open a folder named songs. I actually got this python script copied from someone online for a tutorial but their script’s broken asf.

submitted by /u/MusicAnime
[link] [comments]

​r/learnpython XXX@Mac ~ % python3 /Users/XXX/Downloads/Sky-Music-Player-main/test copy.py Please select a song with the corresponding number. Traceback (most recent call last): File “/Users/XXX/Downloads/Sky-Music-Player-main/test copy.py”, line 177, in <module> song_list = os.listdir(“./songs/”) FileNotFoundError: [Errno 2] No such file or directory: ‘./songs/’ ——– Im trying to get it to open a folder named songs. I actually got this python script copied from someone online for a tutorial but their script’s broken asf. submitted by /u/MusicAnime [link] [comments] 

XXX@Mac ~ % python3 /Users/XXX/Downloads/Sky-Music-Player-main/test copy.py

Please select a song with the corresponding number.

Traceback (most recent call last):

File “/Users/XXX/Downloads/Sky-Music-Player-main/test copy.py”, line 177, in <module>

song_list = os.listdir(“./songs/”)

FileNotFoundError: [Errno 2] No such file or directory: ‘./songs/’

——–
Im trying to get it to open a folder named songs. I actually got this python script copied from someone online for a tutorial but their script’s broken asf.

submitted by /u/MusicAnime
[link] [comments] 

Leave a Reply

Your email address will not be published. Required fields are marked *