On 7 January 2013 23:31, Dylan Kaufman <ketchup.ca...@gmail.com> wrote: > Greetings, > > I take Computer Science in school and for a Python program, I have: > > from winsound import Beep > [SNIP] > > When I run it at school it works great, but at home when I try to run it, it > says: > > Traceback (most recent call last): > File "/Volumes/PICKLES/School/MyClass/Comp. Sci/Chapter 02 > Stuff/program2_cep.py", line 5, in <module> > from winsound import Beep > ImportError: No module named 'winsound'
Judging from the path "/Volumes/PICKLES/..." I'd say you're not running Windows and... > > Could you tell why this is happening and how I can make my program work? winsound only works on Windows (it quietly says "Platforms: Windows" at the top of this page): http://docs.python.org/2/library/winsound.html Oscar _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor