Winter is killing me, tropical weather deserves a song

The countries with the best weather in the world share a lot of things, like people with good mood, paradise worth calling spaces, but above all...cacao and coffee gets produced in their land. Specially due to coffee production these countries have come to be known as The Bean Belt countries. Among them, my beloved Mexico

Image by Candy Niemeyer

Image by Candy Niemeyer

All of these countries share also the characteristic of having within their territory some sort of Tropical Weather, or being "Tropical Countries".

I miss the tropics so much these wintery days that I decided to try and compose a song for them. All of the files I used for this can be found in my repository.

My three inputs were the lyrics to a beautiful Brazilian song "Pais Tropical", the list of countries that comprise "The Bean Belt" and an explanation of the Tropical Biome

background by freepik.com

background by freepik.com

The most laborious part to complete the process was to remove the numbers from the country list. Since I wanted to do everything just through python programs I had to make and test noNumbers.py several times. Once I had that done I ran wordchange.py which worked on the biome and the belt text and then composelyrics.py which ran with the new text from wordchange and the Pais Tropical lyrics to get my final songLyrics.txt. All these programs were made under the guidance of the class notes so what they do is they take parts of the text and randomly re-arrange them into new texts. This is why there are periods on my final song: because getting rid of all the periods in the country list was way to hard, so I ended up leaving them and I think they work quite well to pretend a rythm within this composition.

background by freepik.com

background by freepik.com