Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

larswik

macrumors 68000
Original poster
Sep 8, 2006
1,552
11
Hello all, haven't posted in a long time. I bought a book to learn Python Programing and I am just on chapter 2 of the book "Python Programing second edition".

I typed in one of there examples and part of the examples was to make the system sound beep when it ran. It was very simple and I got no error messages but there was no sound coming from my computer. This is the simple line of code I typed in.

print "\a"

My computer is making sound because I am listening to music with headphones on. When I click the volume up and down I get clicking and I can also hear my alert sound when I activate it.

What am I doing wrong?

Thanks!

-Lars
 
Found the problem. the next page had a note that explained that if I am using the IDEL then I will get a small square box and not a sound. I need to use it from the OS and not with in the IDEL.

-Lars
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.