pyttsx is a Python package supporting common text-to-speech engines on Mac OS X, Windows, and Linux. Homepage
root@edison:~# pip install pyttsx
Downloading/unpacking pyttsx
Downloading pyttsx-1.1.tar.gz
Running setup.py egg_info for package pyttsx
Installing collected packages: pyttsx
Running setup.py install for pyttsx
Successfully installed pyttsx
Cleaning up...
root@edison:~#
root@edison:~# nano main.py
import pyttsx
engine = pyttsx.init()
engine.say('Hello World Python Text To Speech X Platform')
engine.runAndWait()
root@edison:~# python main.py