This media is not supported in your browser
VIEW IN TELEGRAM
Many of you asking me : How to install freegames library on your machine...Here is the simple solution👍
import random
gen=random.randint(000000,100000)
username=input('Enter the username:')
print('hello',username)
print('Here is your OTP:',gen)
password=input("Enter the otp to login:")
if password==str(gen):
print('Login success')
else:
password!=str(gen)
print('login failed')
gen=random.randint(000000,100000)
username=input('Enter the username:')
print('hello',username)
print('Here is your OTP:',gen)
password=input("Enter the otp to login:")
if password==str(gen):
print('Login success')
else:
password!=str(gen)
print('login failed')
👍1
VIDEO UPDATE: The video is about sending mails by using an voice assitant in python (25 lines) will be out tomorrow🔥
Which one of the following is NOT desired in a good Software Requirement Specifications (SRS) document? (Gate question)
Anonymous Quiz
26%
Functional Requirements
32%
Non-Functional Requirements
19%
Goals of Implementation
24%
Algorithms for Software Implementation
Tech news......🖥
SpaceX files Falcon 9 rocket booster for a record 9th time, delivers 3rd batch of starlink satellites in two weeks.
Share support ✨
SpaceX files Falcon 9 rocket booster for a record 9th time, delivers 3rd batch of starlink satellites in two weeks.
Share support ✨
import speech_recognition as sr
import yagmail
recognizer=sr.Recognizer()
with sr.Microphone() as source:
print('Clearing background noise..')
recognizer.adjust_for_ambient_noise(source,duration=1)
print("waiting for your message...")
recordedaudio=recognizer.listen(source)
print('Done recording..!')
try:
print('Printing the message..')
text=recognizer.recognize_google(recordedaudio,language='en-US')
print('Your message:{}'.format(text))
except Exception as ex:
print(ex)
#Automate mails:
reciever=' Receiver's email id'
message=text
sender=yagmail.SMTP('Sender's email id ')
sender.send(to=reciever,subject='This is an automated mail',contents=message)
import yagmail
recognizer=sr.Recognizer()
with sr.Microphone() as source:
print('Clearing background noise..')
recognizer.adjust_for_ambient_noise(source,duration=1)
print("waiting for your message...")
recordedaudio=recognizer.listen(source)
print('Done recording..!')
try:
print('Printing the message..')
text=recognizer.recognize_google(recordedaudio,language='en-US')
print('Your message:{}'.format(text))
except Exception as ex:
print(ex)
#Automate mails:
reciever=' Receiver's email id'
message=text
sender=yagmail.SMTP('Sender's email id ')
sender.send(to=reciever,subject='This is an automated mail',contents=message)
import speech_recognition as sr
import wikipedia
import pyttsx3
engine=pyttsx3.init()
recognizer=sr.Recognizer()
with sr.Microphone() as source:
print('Clearing background noise...Please wait')
recognizer.adjust_for_ambient_noise(source,duration=1)
print("waiting for your message...")
recordedaudio=recognizer.listen(source)
print('Done recording')
try:
print('Printing your message...Please wait')
text=recognizer.recognize_google(recordedaudio,language='en-US')
print('Your Message:{}',format(text))
except Exception as ex:
print(ex)
#Input data
wikisearch=wikipedia.summary(text)
engine.say(wikisearch)
engine.runAndWait()
import wikipedia
import pyttsx3
engine=pyttsx3.init()
recognizer=sr.Recognizer()
with sr.Microphone() as source:
print('Clearing background noise...Please wait')
recognizer.adjust_for_ambient_noise(source,duration=1)
print("waiting for your message...")
recordedaudio=recognizer.listen(source)
print('Done recording')
try:
print('Printing your message...Please wait')
text=recognizer.recognize_google(recordedaudio,language='en-US')
print('Your Message:{}',format(text))
except Exception as ex:
print(ex)
#Input data
wikisearch=wikipedia.summary(text)
engine.say(wikisearch)
engine.runAndWait()
Python update : Guys when you installed python 3.9.2 version don't try to install Tensorflow package on that version. Please use lower version like ( 3.8.8 ) for installation otherwise it will not support so save your time..👍