Tech news..... 🖥
Tesla's co-founder is teaming up with specialized solve the problm of e-bike batteries.
JB Straubel’s Redwood Materials wants to help recycle the e-bike industry’s batteries.
Share support ✨
Tesla's co-founder is teaming up with specialized solve the problm of e-bike batteries.
JB Straubel’s Redwood Materials wants to help recycle the e-bike industry’s batteries.
Share support ✨
#ykyg :
Did you know?
Google’s first-ever tweet seemed gibberish to all of us who don’t “speak code”.
It read: “I’m 01100110 01100101 01100101 01101100 01101001 01101110 01100111 00100000 01101100 01110101 01100011 01101011 01111001 00001010”
Which means “I’m feeling lucky” when translated to English.
Share support ✨
Did you know?
Google’s first-ever tweet seemed gibberish to all of us who don’t “speak code”.
It read: “I’m 01100110 01100101 01100101 01101100 01101001 01101110 01100111 00100000 01101100 01110101 01100011 01101011 01111001 00001010”
Which means “I’m feeling lucky” when translated to English.
Share support ✨
import speech_recognition as sr
import datetime
import subprocess
import pywhatkit
import pyttsx3
import webbrowser
engine=pyttsx3.init()
voices=engine.getProperty('voices')
engine.setProperty('voice',voices[1].id)
recognizer=sr.Recognizer()
def cmd():
with sr.Microphone() as source:
print("Clearing background noises...Pleasw wait")
recognizer.adjust_for_ambient_noise(source,duration=0.5)
print('Ask me anything..')
recordedaudio=recognizer.listen(source)
try:
text=recognizer.recognize_google(recordedaudio,language='en_US')
text=text.lower()
print('Your message:',format(text))
except Exception as ex:
print(ex)
if 'chrome'in text:
a='Opening chrome..'
engine.say(a)
engine.runAndWait()
programName = "C:\Program Files\Google\Chrome\Application\chrome.exe"
subprocess.Popen([programName])
if 'time' in text:
time = datetime.datetime.now().strftime('%I:%M %p')
print(time)
engine.say(time)
engine.runAndWait()
if 'play' in text:
a='opening youtube..'
engine.say(a)
engine.runAndWait()
pywhatkit.playonyt(text)
if 'youtube' in text:
b='opening youtube'
engine.say(b)
engine.runAndWait()
webbrowser.open('www.youtube.com')
while True:
cmd()
import datetime
import subprocess
import pywhatkit
import pyttsx3
import webbrowser
engine=pyttsx3.init()
voices=engine.getProperty('voices')
engine.setProperty('voice',voices[1].id)
recognizer=sr.Recognizer()
def cmd():
with sr.Microphone() as source:
print("Clearing background noises...Pleasw wait")
recognizer.adjust_for_ambient_noise(source,duration=0.5)
print('Ask me anything..')
recordedaudio=recognizer.listen(source)
try:
text=recognizer.recognize_google(recordedaudio,language='en_US')
text=text.lower()
print('Your message:',format(text))
except Exception as ex:
print(ex)
if 'chrome'in text:
a='Opening chrome..'
engine.say(a)
engine.runAndWait()
programName = "C:\Program Files\Google\Chrome\Application\chrome.exe"
subprocess.Popen([programName])
if 'time' in text:
time = datetime.datetime.now().strftime('%I:%M %p')
print(time)
engine.say(time)
engine.runAndWait()
if 'play' in text:
a='opening youtube..'
engine.say(a)
engine.runAndWait()
pywhatkit.playonyt(text)
if 'youtube' in text:
b='opening youtube'
engine.say(b)
engine.runAndWait()
webbrowser.open('www.youtube.com')
while True:
cmd()
Select the pair that best expresses the relation in the original pair. Unemployed: Worker (English aptitude)
Anonymous Quiz
17%
wit: jester
41%
unaware: sleeper
26%
renovated: house
16%
fallow: land
import cv2
import webbrowser
cap=cv2.VideoCapture(0)
detector=cv2.QRCodeDetector()
while True:
_,img=cap.read()
data,one, _=detector.detectAndDecode(img)
if data:
a=data
break
cv2.imshow('qrcodescanner app',img)
if cv2.waitKey(1)==ord('q'):
break
b=webbrowser.open(str(a))
cap.release(a)
cv2.destroyAllWindows()
import webbrowser
cap=cv2.VideoCapture(0)
detector=cv2.QRCodeDetector()
while True:
_,img=cap.read()
data,one, _=detector.detectAndDecode(img)
if data:
a=data
break
cv2.imshow('qrcodescanner app',img)
if cv2.waitKey(1)==ord('q'):
break
b=webbrowser.open(str(a))
cap.release(a)
cv2.destroyAllWindows()
import pyqrcode
import png
from pyqrcode import QRCode
link='www.wikipedia.com'
url=pyqrcode.create(link)
url.png('wikipediaqrcode.png',scale=6)
import png
from pyqrcode import QRCode
link='www.wikipedia.com'
url=pyqrcode.create(link)
url.png('wikipediaqrcode.png',scale=6)