How To Play Music Using Python - Happy Diwali 2021

  


In this post, we are going to make a program in which we play our full music directory from a single click we need to install playsound in Python. We need the playsound module to run this program. If you don't know how to download the playsound module in Python don't worry, I will help you with this type of "pip install playsound" in terminal or command prompt. 


Here is your code:

from playsound import playsound
playsound('Paste Your File Full Path')
print('playing sound using playsound')

We will again meet in another post. I know this post is very short sorry for this but now I will post 3-4 posts in a week stay tuned Happy Diwali.

Post a Comment

Previous Post Next Post