DEV Community

mjp286
mjp286

Posted on

Song Recommender

This is a project in the Codecademy CS102 course. It is a simple program to recommend music playlists based on user input. The program will give a list of music genres that the user can select from. The user types the genre they would like to see, and a list of songs is generated. The songs are from Rolling Stone magazines' Top 500 songs.

The user should run the Main.py file. The program asks to select a genre. The user types the genre from the list provided and then the program asks if you want to see a list of songs. If the user enters 'y' then a list of songs is generated. The program works by creating a tree from the songs.csv file. The genre is the parent node and the children are the songs in that genre. A breadth-first search algorithm is used to search the tree and provide a list of songs.

Here is a link to the program:
https://github.com/mjp286/Recommendation-Software-Python.git

The songs.csv file could be altered to make the list of songs more personalized.

Top comments (0)