Start New Discussion within our Software Development Community

The PySide (PyQT) GUI toolkit can be used to play wave sound files.

a simple template to test PySide widgets like QSound

PySide is the official LGPL-licensed version of PyQT
for free PySide Windows installers see:
tested with Python33 and Pyside112  by vegaseat  29jul2013

import time
from PySide.QtCore import *
from PySide.QtGui import *

# replace [] with sys.argv for command line option
app = QApplication([])

# ----- start your widget test code ----

# pick a sound file (.wav only) you have
sound_file = "Pop.wav"

# create a label to show file (allows for proper exit too)
label = QLabel(sound_file)

# ---- end of widget test code -----

The article starter has earned a lot of community kudos, and such articles offer a bounty for quality replies.