Wand to play a sound in Python but don’t know how?
It's your problem No problems. I’ll show you some ways. Here is the list of popular Python libraries used to make noise with short descriptions and usage examples.
A cross-platform windowing and multimedia library for Python. Among it’s features: no external dependencies or installation requirements; can optionally use AVbin to play back audio formats such as MP3, OGG/Vorbis and WMA. Distributed under BSD open-source license.
Pygame is a set of Python modules designed for writing games. Pygame adds functionality on top of the excellent SDL library. This allows you to create fully featured games and multimedia programs in the python language. Pygame is highly portable and runs on nearly every platform and operating system. Pygame itself has been downloaded millions of times, and has had millions of visits to its website. Distributed under GPL.
GStreamer Python Bindings
GStreamer is a pipeline-based multimedia framework written in the C programming language with the type system based on GObject.
GStreamer allows a programmer to create a variety of media-handling components, including simple audio playback, audio and video playback, recording, streaming and editing. The pipeline design serves as a base to create many types of multimedia applications such asvideo editors, streaming media broadcasters and media players. Distributed under LGPL.
PyAudio provides Python bindings for PortAudio, the cross-platform audio I/O library. With PyAudio, you can easily use Python to play and record audio on a variety of platforms.
PyAudio is still super-duper alpha quality. It has run on GNU/Linux 2.6, Microsoft Windows 7/XP, and Apple Mac OS X 10.5+—but it could use more testing.
I couldn’t get how to play ogg files, here is an example for wav.
PyMedia is a Python module for wav, mp3, ogg, avi, divx, dvd, cdda etc files manipulations. It allows you to parse, demutiplex, multiplex, decode and encode all supported formats. It can be compiled for Windows, Linux and cygwin.
Looks like Pyglet is the obvious choise.