We're back after a server migration that caused effbot.org to fall over a bit harder than expected. Expect some glitches.

Multimedia Modules

“Wot? No quote?”

Guido van Rossum

Overview

Python comes with a small set of modules for dealing with image files and audio files.

For more extensive support, see Python Imaging Library (PIL) and the Snack Sound Toolkit, among others.

Contents

The imghdr module

The sndhdr module

The whatsound module

The aifc module

The sunau module

The sunaudio module

The wave module

The audiodev module

The winsound module

The colorsys module