On 12/09/2012 08:47, Dwight Hutto wrote:
So the following would be the script, except the ability to change
specific values such as frequency with a scroll widget.
import os
#Variables for system call
command_line_app_for sound = "speaker-test"
frequency = " --frequency 2000"
length_of_sound_ms = " --period 5000"
test_type = " --test sine"
#System call with variables placed in
os.system( command_line_app_for sound + frequency + length_of_sound_ms
+ test_type)
Extremely useful if and only if this is what the OP wants. I prefer
working to facts and not assumptions, plus the full context of previous
messages.
--
Cheers.
Mark Lawrence.
_______________________________________________
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor