Posts

Showing posts from February, 2022

Jarvis/Voice Assistant using python 100% working code!!!

 # Python program for voice assistant!!! #INSTALL THE FOLLOWING MODULES FOR COMPLETE FUN! #pip install pyaudio #pip install Py-Dictionary/PyDictionary #pip install flask #pip install wikipedia #pip install pywhatkit #pip install pyjokes #pip install pyttsx3 #pip install SpeechRecognition #pip install beautifulSoup from bs4 import BeautifulSoup import requests import speech_recognition as sr import os import pyttsx3 import wikipedia import datetime import webbrowser from random import * import pyjokes import time import pywhatkit from pydictionary import Dictionary # Initialize the recognizer  r = sr.Recognizer() nam='julius' # Function to convert text to speech def SpeakText(command):            # Initializing the engine     engine = pyttsx3.init()     voices = engine.getProperty('voices')     engine.setProperty('voice', voices[0].id)     engine.setProperty('rate',170)     engine.say(command) ...