This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author zach.ware
Recipients Ganning Liu, zach.ware
Date 2016-04-15.03:41:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1460691668.79.0.399482125319.issue26761@psf.upfronthosting.co.za>
In-reply-to
Content
This looks very like a case of shadowing a standard library module.  Just before your call to Beep(), try "print(winsound.__file__)".  If it's not "C:\SomePathToPython\DLLs\winsound.pyd" (with an appropriate real path in place of "SomePathToPython"), it's the path of the file that you should rename to something other than "winsound.py".
History
Date User Action Args
2016-04-15 03:41:08zach.waresetrecipients: + zach.ware, Ganning Liu
2016-04-15 03:41:08zach.waresetmessageid: <1460691668.79.0.399482125319.issue26761@psf.upfronthosting.co.za>
2016-04-15 03:41:08zach.warelinkissue26761 messages
2016-04-15 03:41:08zach.warecreate