0

Adding Media files

Help me on how may I add and open media files in my python code

29th Oct 2020, 10:02 PM
Innocent Salimoni
Innocent Salimoni - avatar
2 Answers
+ 2
Here is a simple example extracted from "automate the boring stuff with Python". When the countdown reaches 0, my_song.mp3 opens up with your media player. https://code.sololearn.com/c81wyY3Y68Vd/?ref=app Hope this helps 😃
30th Oct 2020, 6:21 AM
Tomiwa Joseph
Tomiwa Joseph - avatar
0
For instance to play a notification if a certain condition happens
30th Oct 2020, 4:53 AM
Innocent Salimoni
Innocent Salimoni - avatar