This link helped
http://stackoverflow.com/questions/307305/play-a-sound-with-python
I’m working on Windows, so winsound worked. It was as simple as
#!/usr/bin/env python import winsound winsound.PlaySound("ex1.wav", winsound.SND_FILENAME)
This link helped
http://stackoverflow.com/questions/307305/play-a-sound-with-python
I’m working on Windows, so winsound worked. It was as simple as
#!/usr/bin/env python import winsound winsound.PlaySound("ex1.wav", winsound.SND_FILENAME)