Message263440
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". |
|
Date |
User |
Action |
Args |
2016-04-15 03:41:08 | zach.ware | set | recipients:
+ zach.ware, Ganning Liu |
2016-04-15 03:41:08 | zach.ware | set | messageid: <1460691668.79.0.399482125319.issue26761@psf.upfronthosting.co.za> |
2016-04-15 03:41:08 | zach.ware | link | issue26761 messages |
2016-04-15 03:41:08 | zach.ware | create | |
|