AK Python
1.86K subscribers
39 photos
2 videos
11 files
236 links
Join here to unlock your programming ability
Download Telegram
Just uploaded new video 👍 ( completely for beginners )
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')
👍1
source code for OTP generator
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
Email voice assistant video is out now..!
Tech news......🖥

SpaceX files Falcon 9 rocket booster for a record 9th time, delivers 3rd batch of starlink satellites in two weeks.

Share support
Good morning python programmers😌
Source code for email voice assistant
👍1
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)
#ykyg :
Did you know?

Most internet traffic isn't from real Humans.
About 51% of internet traffic is non-human. Over 30% is from hacking programs, spammers, and phishing.

Share support
Check out the new video in Ai project playlist
Good morning programmers😄
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()
Source code Wikipedia voice assistant
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..👍