This file contains hidden or 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 pywhatkit | |
| import webbrowser | |
| def YouTubeDirectSearch(Title): | |
| pywhatkit.playonyt(Title) | |
| def YouTubeSearch(Title): | |
| hhtp = "https://www.youtube.com/results?search_query=" + str(Title) |
This file contains hidden or 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
| from geopy.distance import great_circle # pip install geopy | |
| from geopy.geocoders import Nominatim # pip install geopy | |
| import webbrowser # pip install webbrowser | |
| import geocoder # pip install geocoder | |
| import requests | |
| def GoogleMaps(Place): | |
| Url_Place = "https://www.google.com/maps/place/" + str(Place) |
This file contains hidden or 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
| from keyboard import press_and_release | |
| from keyboard import press | |
| import webbrowser as web | |
| def WindowsAuto(command): | |
| query = str(command) | |
| if 'home screen' in query: |
This file contains hidden or 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 wikipedia | |
| def Summary(About): | |
| information = wikipedia.summary(About,2) | |
| return information | |
This file contains hidden or 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 wolframalpha | |
| def Calculator(Problem,Api_Key): | |
| app_id = set(Api_Key) | |
| client = wolframalpha.Client(app_id) | |
| res = client.query(Problem) | |
This file contains hidden or 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
| from playsound import playsound | |
| import datetime | |
| from time import sleep | |
| def RingerNow(time,Sound): | |
| Alarm_Time = str(time).replace(":","") | |
| Alarm_Tim = str(time) | |
| while True: |
This file contains hidden or 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 os | |
| import pywhatkit | |
| def Music(Name,Path): | |
| if 'file' in Name: | |
| os.startfile(str(Path)) | |
| else: |
This file contains hidden or 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 | |
| def Listen(): | |
| r = sr.Recognizer() | |
| with sr.Microphone() as source: | |
| print(" ") |
This file contains hidden or 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 pyttsx3 # pip install pyttsx3 | |
| Assistant = pyttsx3.init('sapi5') | |
| Voices = Assistant.getProperty('voices') | |
| Assistant.setProperty('voices',Voices[2].id) | |
| Assistant.setProperty('rate',170) | |
| def Say(Audio): | |
| print(f"Assistant : {Audio}") | |
| print(" ") |
This file contains hidden or 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 pyttsx3 | |
| import speech_recognition as sr | |
| import requests | |
| from googletrans import Translator | |
| Api_Key = "KrsOGOZLgYGcxYVBLZld2U65PevfTyOfbdqy7ggK" | |
| engine = pyttsx3.init('sapi5') | |
| voices = engine.getProperty('voices') |