The winsound module

(Windows only). This module allows you to play Wave sound files on a Windows machine.

Example: Using the winsound module
# File: winsound-example-1.py

import winsound

file = "samples/sample.wav"

winsound.PlaySound(
    file,
    winsound.SND_FILENAME|winsound.SND_NOWAIT,
    )
 

A Django site. rendered by a django application. hosted by webfaction.