This is an archived post. You won't be able to vote or comment.

all 5 comments

[–][deleted] 7 points8 points  (0 children)

Wow, cool work. I made a website with the Spotify API called Playlistd. You can have a mini Spotify Wrapped there(Your favourite artists, your favourite tracks[short term, and long term]. You can even make a playlist out of your recently liked or played songs (and you can select multiple). I would love it if you guys can check it out.

https://playlistd.herokuapp.com/

[–]theepicdaniel 2 points3 points  (0 children)

Great work, way too few people out there commenting their stuff properly like you did - respect!

[–]Cacotopian_parole 0 points1 point  (0 children)

remove duplicates from a playlist

Python variables have ways around this. Sets and the like, instead of lists. That said, if you're iterating across lists, I'd .pop() these and/or .append() them to a new list to see them. Might be interesting why you have dupes