Code:
import pyttsx3
if __name__ == "__main__":
engine = pyttsx3.init()
rate = engine.getProperty('rate')
engine.setProperty('rate', 125)
engine.setProperty('voice', )
volume = engine.getProperty('volume')
engine.setProperty('volume', 1.0)
voices = engine.getProperty('voices')
engine.setProperty('voice', voices[1].id)
engine.say("Hello World!")
engine.runAndWait()
engine.stop()