1. Welcome to the new MacRumors forums. See our announcement and read our FAQ

Python programing problem

Discussion in 'Mac Programming' started by larswik, Feb 25, 2009.

  1. macrumors 65816

    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?


  2. macrumors 65816

    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.


Share This Page