I have made an mp3 and I am trying to run all the songs one after the other and for that I am writing this code ;
def play_music(): for i in enumerate(song_box.get(song_box.curselection(),END)): song=song_box.get(song_box.curselection()) song= f'JukeBox/Eminem_Music/{song}.mp3' pygame.mixer.music.load(song) pygame.mixer.music.play(loops=0) i += 1
1.4m articles
1.4m replys
5 comments
57.0k users