python

 voice search recognition on google


import speech_recognition as sr

import webbrowser

r = sr.Recognizer()
with sr.Microphone() as source:
print("What you want to search\n")
audio = r.listen(source)

print(('opening : ' + r.recognize_google(audio)))

p = r.recognize_google(audio)
webbrowser.open(p)

Table of any Number 
num=int(input("Enter The digit for multipliers\n"))
for multiplier in [0,1,2,3,4,5,6,7,8,9,10]:
print(str(num)+" X " + str(multiplier)+"="+str(num*multiplier))

Comments

Popular posts from this blog

PROJECT 3

Cascading Style Sheets(CSS)

SPEEDTEST PYTHON PROJECT