Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Play Mp3 Files With Python Using the playsound Package

# If you don’t have the playsound package installed on your system,
# you can install it with the command:

"""
$ pip install playsound
"""

import playsound

playsound.playsound('sample.mp3')
Source by www.delftstack.com #
 
PREVIOUS NEXT
Tagged: #Play #Files #With #Python #Using #playsound #Package
ADD COMMENT
Topic
Name
9+6 =