Lee Harr wrote:
>>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.

If you are on windows try the winsound module.

Kent

_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to