We need to install "espeak" . On fedora usse this command:
#yum install espeak
Now the example is:
>>> import subprocess
>>> subprocess.call(["espeak", "-s 120","-p 100","This is a test"])
0
>>>
This will speak "This is a test".
This is all .