Skip to content

Instantly share code, notes, and snippets.

View ranand16's full-sized avatar
🤩
code code code!!!

Rishabh Anand ranand16

🤩
code code code!!!
View GitHub Profile
@ranand16
ranand16 / Jarvis.py
Created February 5, 2017 01:41 — forked from GGulati/Jarvis.py
import speech_recognition
import pyttsx
speech_engine = pyttsx.init('sapi5') # see http://pyttsx.readthedocs.org/en/latest/engine.html#pyttsx.init
speech_engine.setProperty('rate', 150)
def speak(text):
speech_engine.say(text)
speech_engine.runAndWait()