This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import speech_recognition as sr | |
sr.__version__ | |
import pyttsx3 | |
import pywhatkit | |
import datetime | |
import wikipedia | |
import pyjokes | |
import webbrowser | |
listener = sr.Recognizer() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import tkinter as tk | |
import requests | |
import time | |
def getWeather(canvas): | |
city = textField.get() | |
api = "https://api.openweathermap.org/data/2.5/weather?q=" + city + "&appid=06c921750b9a82d8f5d1294e1586276f" | |
json_data = requests.get(api).json() |