Advertisement
Guest User

Untitled

a guest
Jun 26th, 2019
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. import speech_recognition as sr
  2. import os
  3. import sys
  4. import webbrowser
  5. import pysttx3
  6.  
  7. def talk (words):
  8. engine = pyttsx3.init()
  9. engine.say(words)
  10. engine.runAndWait()
  11. talk ("Cпроси что-нибудь")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement