Posts

Showing posts from May, 2021

E-mail Sender using Voice Recognition

This is a gui program which utilises tkinter (for gui), smtplib (to send email), pyttsx3 (text to speech) and speech_recognition (for voice recognition) libraries to send emails with a very little effort. Code: from  tkinter  import  * from  PIL  import  ImageTk, Image import  speech_recognition  as  sr import  pyttsx3 import  smtplib def   speak ( c ):     e = pyttsx3.init()     e.say(c)     e.runAndWait() r = sr.Recognizer() def   click ():     o = smtplib.SMTP( "smtp.gmail.com" ,  587 )     o.starttls()     o.login( "visualspprt@gmail.com" ,  "Help@123" )      while ( 1 ):          try :              with  sr.Microphone()  as ...