Newbie Question on PlaySound
OneDay at A.Time
OneDay at A.Time
Tue Sep 19 11:33:36 EDT 2000
More information about the Python-list mailing list
Tue Sep 19 11:33:36 EDT 2000
- Previous message (by thread): System information on Windows?
- Next message (by thread): Newbie Question on PlaySound
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message (by thread): System information on Windows?
- Next message (by thread): Newbie Question on PlaySound
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list