Newbie Question on PlaySound
OneDay at A.Time
OneDay at A.Time
Tue Sep 19 11:33:36 EDT 2000
Hello,
Thanks for the response on the screen saver issue. (You don'y know unless you
ask)
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 = file.read()
>>>> PlaySound(x, SND_FILENAME)
>>>>
Thanks for your time and patience, Al
More information about the Python-list
mailing list