> Where have you forgotten to mention Ubuntu?  "I'm sure...", the OP has 
> specifically said "in Python", which implies to me using a Python package or 
> module, hence my question above.
>
Well, I was assuming he would write a command line app like so:

Python 2.7.3 (default, Aug  1 2012, 05:16:07)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> os.system("speaker-test" + " --frequency 2000" + " --period 5000" + " 
>>> --test sine")


This would work in linux/ubuntu, but if they're using windows or don't
have this particular linux distribution/speaker-test installed, it
might need to be a different command line call, such as :

>>> import os
>>> os.system("your_sound_app_here" + " --frequency 2000" + " --period 5000" + 
>>> " --test sine")

--
Best Regards,
David Hutto
CEO: http://www.hitwebdevelopment.com
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
  • [Tutor] Music... D . V . N . Sarma డి . వి . ఎన్ . శర్మ
    • Re: [Tut... Dwight Hutto
    • Re: [Tut... Mark Lawrence
      • Re: ... Dwight Hutto
        • ... Mark Lawrence
          • ... Dwight Hutto
            • ... Dwight Hutto
              • ... Mark Lawrence
                • ... Dwight Hutto
                • ... Dwight Hutto
                • ... Dwight Hutto
                • ... Mark Lawrence
                • ... D . V . N . Sarma డి . వి . ఎన్ . శర్మ
                • ... Alan Gauld
                • ... D . V . N . Sarma డి . వి . ఎన్ . శర్మ
                • ... D . V . N . Sarma డి . వి . ఎన్ . శర్మ

Reply via email to