This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Objective - The idea is that you can maintain a music collection | |
# independent of the media player you are using. Keeping the configuration | |
# in Python lets us format our MP3 files however we want. | |
# | |
# This specific script adds tags to your MP3 files in accordance with | |
# VLC media player. We edit tags using `mutagen`. You can change the script, | |
# to set the tags, to your media player's preferences! | |
# | |
# Quickstart | |
# - Install the `mutagen` package using pip (`pip install mutagen`). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Both of these implementations are pseudocodes. | |
// The objective of both of these implementations is to check | |
// if a file exists inside a directory or not. It does not have to be | |
// directly present inside the directory. | |
// In the ITERATIVE version, we have to define 2 functions and it's a lot less readable. | |
// The RECURSIVE version is much more readable and induces a lesser cognitive load | |
// (ease of understanding) on the person reading it. |