[issue26761] winsound module very unstable in Windows 10
Zachary Ware
report at bugs.python.org
Thu Apr 14 23:41:08 EDT 2016
Zachary Ware added the comment:
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".
----------
nosy: +zach.ware
resolution: -> not a bug
status: open -> pending
type: compile error -> behavior
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26761>
_______________________________________
More information about the Python-bugs-list
mailing list