Basically I want to do something like this:
def add_song():
song = filedialog.askopenfilename(
title="Choose a Song", filetypes=(("mp3 Files", "*.mp3"),))
song = song.replace(string that means path, "")
song_box.insert(END, song)
Instead of this:
def add_song():
song = filedialog.askopenfilename(
title="Choose a Song", filetypes=(("mp3 Files", "*.mp3"),))
song = song.replace("C:/specifically/stated/path", "")
song_box.insert(END, song)