I am using pygame to play music in python
from pygame import mixer
mixer.init()
mixer.music.load('/home/sample.mp3')
mixer.music.play()
mixer.music.stop()
I want to play the music automatically from time t1 to time t2 say from 8:00AM to 8:10AM,then from 10:15am to 10:25 am.How can I do that? Thanks.....