#!/usr/bin/python

import os
import random
import sys

voices = file('/Users/ahoover/dev/scripts/voices.txt', 'r')

voice_list = []
for line in voices:
    voice_list.append(line[0:10])

what_to_say = ""
for i in range(1, len(sys.argv)):
    what_to_say = what_to_say + " " + sys.argv[i]
voice = voice_list[random.randint(0, len(voice_list)-1)]
os.system('say "'+ what_to_say + '" --voice=' + voice)

8e894e77ac34d29f36ffa839e192b60418fceda2
<mask token>

<mask token>
for line in voices:
    voice_list.append(line[0:10])
<mask token>
for i in range(1, len(sys.argv)):
    what_to_say = what_to_say + ' ' + sys.argv[i]
<mask token>
os.system('say "' + what_to_say + '" --voice=' + voice)

<mask token>
voices = file('/Users/ahoover/dev/scripts/voices.txt', 'r')
voice_list = []
for line in voices:
    voice_list.append(line[0:10])
what_to_say = ''
for i in range(1, len(sys.argv)):
    what_to_say = what_to_say + ' ' + sys.argv[i]
voice = voice_list[random.randint(0, len(voice_list) - 1)]
os.system('say "' + what_to_say + '" --voice=' + voice)

import os
import random
import sys
voices = file('/Users/ahoover/dev/scripts/voices.txt', 'r')
voice_list = []
for line in voices:
    voice_list.append(line[0:10])
what_to_say = ''
for i in range(1, len(sys.argv)):
    what_to_say = what_to_say + ' ' + sys.argv[i]
voice = voice_list[random.randint(0, len(voice_list) - 1)]
os.system('say "' + what_to_say + '" --voice=' + voice)

#!/usr/bin/python

import os
import random
import sys

voices = file('/Users/ahoover/dev/scripts/voices.txt', 'r')

voice_list = []
for line in voices:
    voice_list.append(line[0:10])

what_to_say = ""
for i in range(1, len(sys.argv)):
    what_to_say = what_to_say + " " + sys.argv[i]
voice = voice_list[random.randint(0, len(voice_list)-1)]
os.system('say "'+ what_to_say + '" --voice=' + voice)
