On 12/09/2012 08:41, Dwight Hutto wrote:
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


You can assume until the cows come home, but unless the OP states their requirement nobody will know for certain :)

--
Cheers.

Mark Lawrence.

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to