Newbie Question on PlaySound

OneDay at A.Time OneDay at A.Time
Tue Sep 19 17:33:36 CEST 2000


Thanks for the response on the screen saver issue. (You don'y know unless you 

Anyhow, Could someone tell me why the following plays the windows default 
sound file rather than the sound file indicated?

>>>> from winsound import *
>>>> import os
>>>> file = open("C:\\windows\\media\\office97\\reminder.wav", 'r')
>>>> x =
>>>> PlaySound(x, SND_FILENAME)

Thanks for your time and patience, Al

More information about the Python-list mailing list