The code: The error: What I’ve done to try and fix this: To preface this, I’m a beginner. I’ve tried to make sure all my python stuff is updated. Made sure to install the playsound module on both Python3 and Python. Originally I had the sounds stored in their own folder, now I’ve moved them to the root folder in
Tag: python-playsound
I need a way to stop a function from running at the push of a button
I’ve been working on this for hours, and I’ve tried everything from break in an if statement to making an index variable. I can’t seem to find a way to stop the sound/music from playing. My goal is to press ‘Q’ and stop the function and while loop to start another while loop. Answer Playsound consists of a single function