How to play sound in Python?

bearophile bearophileHUGS at lycos.com
Sun Oct 24 02:39:07 CEST 2004


Bill Dandreta:
>The winsound module lets you play .wav files under windows.

Thank you.
You can also create "on the fly" memory-mapped wav files (with wave
and mmap modules, I think), and play them.

How to use the flag SND_PURGE for WAVs loaded from filename or memory
mapped?

Bear hugs,
Bearophile



More information about the Python-list mailing list