>I can't get:
>
>import wave as w
>

>... to play a .wav music file. I tried w.play() but got an error that
>module has no attribute 'play'.
>What do I use to get it to play?


Strangely... I do not believe the wave module is meant to actually
_play_ a wav file. It looks to me like it is only intended to read and
parse the file for meta information.

You could try passing the name of the file to another program
via os.system, or you could use pygame.

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to