Play sound in a repl with Python
RojerGS (13)

Hello everyone,

In light of the new challenge I was going to create something with Python (and pygame) and it would involve playing sounds, but turns out I cannot use the pygame.mixer module. Is it because I am a n00b?
Either way, is there any (relatively simple) way of playing audio in a Python repl?


You are viewing a single comment. View All
21natzil (1075)

@RojerGS When creating a website on, you're only restricted by your browser. When working with Python / Pygame repls, sound is not supported, sorry for the confusion.