Hello Friends, I am making a script in Python which will help me to Play-Music in Python, I am using module “pygame”. Script is able to run properly but not able to play music.
I am using Ubuntu 14.04.
from pygame import mixer
def time_checker():
mixer.init()
mixer.music.load('apple.mp3')
mixer.music.play()
time_checker()