import pyttsx3
engine = pyttsx3.init()
message = 'Текст для произношения'
print(message)
engine.say(message)
engine.runAndWait()
engine = pyttsx3.init()
voices = engine.getProperty('voices')
for voice in voices:
print('Now speaking:', voice.id)
engine.setProperty('voice', voice.id)
engine.say('The quick brown fox jumped over the lazy dog.')
engine.runAndWait()