I'm assuming by ws you mean winsound?
Check the docs: https://docs.python.org/3.7/library/winsound.html
winsound.MessageBeep(type=MB_OK)
Call the underlying MessageBeep() function from the Platform API. This
plays a sound as specified in the registry. The type argument specifies which
sound to play; possible values are -1, MB_ICONASTERISK, MB_ICONEXCLAMATION,
MB_ICONHAND, MB_ICONQUESTION, and MB_OK, all described below. The value -1
produces a “simple beep”; this is the final fallback if a sound cannot be
played otherwise. If the system indicates an error, RuntimeError is raised.
winsound.MB_ICONASTERISK
Play the SystemDefault sound.
winsound.MB_ICONEXCLAMATION
Play the SystemExclamation sound.
winsound.MB_ICONHAND
Play the SystemHand sound.
winsound.MB_ICONQUESTION
Play the SystemQuestion sound.
winsound.MB_OK
Play the SystemDefault sound.
-----Original Message-----
From: Python-list
[mailto:[email protected]] On Behalf Of
Steve
Sent: Thursday, March 21, 2019 10:00 AM
To: [email protected]
Subject: What is the difference between "ws.Messagebeep(1)" and
"ws.Messagebeep(-1)" ?
Also: What is the code for other tones that I can call?
Footnote:
When someone asks "A penny for your thoughts" and you give your 2c worth,
I wonder what happens to that other penny?
TTKMAWAN
--
https://mail.python.org/mailman/listinfo/python-list
--
https://mail.python.org/mailman/listinfo/python-list