title: Use pyttsx in PyQt
body: <p>I am making Gui for my chatbot in pyqt but i have a bit problem in this area of code.</p>
  
  <pre><code>def __init__(self):
      super(Window, self).__init__()
      self.setGeometry(50, 50, 500, 300)
      self.setWindowTitle("Chatbot 0.3")
  
  
  def offline_speak(chat_speech):
      engine = pyttsx.init()
      engine.say(chat_speech)
      engine.runAndWait()
  </code></pre>
  
  <p>few things will change like <strong>def offline_speak(self)</strong> then mention it in above <strong>init</strong> like <strong>self.offline_speak()</strong> but i have no idea about engine code.</p>
  
  <p>Can anyone suggest me anything?</p>