r/learnpython • u/itsmebo12 • 46m ago
Is there any way to play audio in Python without using external libraries or winsound?
I wanted to play audio in Python, so I started looking for modules that were already installed, it means ones that wouldn't require an internet connection to install (for example Pygame)
I found winsound but the problem is that it will only play audio on Windows and no in other OS
It seemed more convenient not to have to install external libraries to test Python capabilities within the existing environment (such as using Tkinter instead of game engines)
Unfortunately many audio libraries and modules were removed in 3.13 (i'm using 3.14)