[Tutor] (no subject)

Rikard Bosnjakovic rikard.bosnjakovic at gmail.com
Fri Jun 1 07:41:00 CEST 2007


On 5/30/07, Treloar, Nick <Nick.Treloar at education.nsw.gov.au> wrote:

> how do you import sounds

Do you mean a module named "sounds", or sounds in general? If the
latter, what do you mean by "import" sounds? Read a sound-file? Play a
sound-file?

There is a wav-module you can use: http://docs.python.org/lib/module-wave.html

If you want to play sounds, check pygame: http://www.pygame.org/


-- 
- Rikard - http://bos.hack.org/cv/


More information about the Tutor mailing list