voices = engine.getProperty(\'voices\') print(voices[1].id) engine.setProperty(\'voices\',voices[1].id)
above code is printing female voice but speaking