Yes, I saw that.  It still failed with, or without, the “d”.  I played with 
case and the use of ().
They all produced similar errors

 

 

Footnote:

 
<http://click1.email.theonion.com/fdhhznrjhrcwhhsdwbqczwybqhwgsbrpzdlbfybhqbhhj_bjcgpjgcpypgjzzbfqdd.html?a=TheOnion_Daily_RSS&b=&c=>
 Ultrasound Technician Asks Pregnant Woman If She’d Like To Know Baby’s Name

 

From: Ivan "Rambius" Ivanov <rambiusparkisan...@gmail.com> 
Sent: Friday, March 8, 2019 3:25 PM
To: Steve <Gronicus@sga.ninja>
Cc: David Raymond <david.raym...@tomtom.com>; python-list@python.org
Subject: Re: System Beep?

 

Hello,

On Fri, Mar 8, 2019, 3:19 PM Steve <Gronicus@sga.ninja 
<mailto:Gronicus@sga.ninja> > wrote:

========= RESTART: C:\____Gork\Med Insulin codes\MedReminder 127.py
=========
Traceback (most recent call last):
  File "C:\____Gork\Med Insulin codes\MedReminder 127.py", line 13, in
<module>
    windsound.Beep  #(frequency, duration)
NameError: name 'windsound' is not defined

Something missing in my code?

 

You have a typo. It is winsound, not winDsound.

 

Regards

rambius

 


------------------------------------------------------------------------
98% of lawyers give the other 2% a bad name.


-----Original Message-----
From: Python-list <python-list-bounces+gronicus=sga.ni...@python.org 
<mailto:sga.ni...@python.org> > On
Behalf Of David Raymond
Sent: Friday, March 8, 2019 3:02 PM
To: python-list@python.org <mailto:python-list@python.org> 
Subject: RE: System Beep?

Windows has the built in winsound module that lets you set frequency and
duration, not sure about other OS's.

https://docs.python.org/3.7/library/winsound.html


-----Original Message-----
From: Python-list
[mailto:python-list-bounces+david.raymond 
<mailto:python-list-bounces%2Bdavid.raymond> =tomtom....@python.org 
<mailto:tomtom....@python.org> ] On Behalf
Of Steve
Sent: Friday, March 08, 2019 1:14 PM
To: python-list@python.org <mailto:python-list@python.org> 
Subject: System Beep?

How can I cause a system beep using code?
This is using the computer's internal speaker, not an audio external
speaker.
Do I have control of duration or volume?

Steve





Footnote:
Every minute, every single day, the equivalent of a truckload of plastic
enters our oceans.


--
https://mail.python.org/mailman/listinfo/python-list
--
https://mail.python.org/mailman/listinfo/python-list

-- 
https://mail.python.org/mailman/listinfo/python-list

-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to