So Far, pydub
worked best for me. Modules like playsound
will also do the job, But It has only one single feature. pydub
has many features like slicing the song(file), Adjusting the volume etc...
It is as simple as slicing the lists in python.
So, When it comes to just playing, It is as shown as below.
from pydub import AudioSegment
from pydub.playback import play
path_to_file = r"Music/Harry Potter Theme Song.mp3"
song = AudioSegment.from_mp3(path_to_file)
play(song)