I already did python pip install playsound
and the location of my Python file is also correct please check what is the problem?
It shows cannot specify extra characters after a string enclosed in quotation marks.
My code is:
from playsound import playsound
playsound('C:\\Users\\Lenovo\\OneDrive\\Documents\\Zoom\\1. Chapter 1\\play.mp3\\play.mp3')
Error occured:
Location of sound:
\\play.mp3\\play.mp3
, are you sure you mean to repeat the filename like that? It doesn't match the path you show later on in the question. – Jittery