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
| 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 pyautogui import click | |
| from time import sleep | |
| from keyboard import write | |
| from keyboard import press | |
| from os import startfile | |
| def WhatsappMsg(name,message,Path): | |
| startfile(str(Path)) |
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 requests # pip install requests | |
| import os | |
| import matplotlib.pyplot as plt # pip install matplotlib | |
| import cartopy.crs as ccrs # pip install cartopy | |
| from PIL import Image # pip install PIL | |
| def NasaNews(Date,Api_Key,pathNow,PathToSave): | |
| Url = "https://api.nasa.gov/planetary/apod?api_key=" + str(Api_Key) |
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
| def Listen(): | |
| import speech_recognition as sr | |
| 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
| def Alarm(time,Sound): | |
| from playsound import playsound | |
| import datetime | |
| from time import sleep | |
| 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
| def CoronaVirus(Country): | |
| countries = str(Country).replace(" ","") | |
| url = f"https://www.worldometers.info/coronavirus/country/{countries}/" | |
| result = requests.get(url) | |
| soups = bs4.BeautifulSoup(result.text,'lxml') |
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 pyautogui import click | |
| from time import sleep | |
| from keyboard import write | |
| from keyboard import press | |
| from os import startfile | |
| def WhatsappMsg(name,message,Path): | |
| startfile(str(Path)) |
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 requests # pip install requests | |
| import os | |
| import matplotlib.pyplot as plt # pip install matplotlib | |
| import cartopy.crs as ccrs # pip install cartopy | |
| from PIL import Image # pip install PIL | |
| def NasaNews(Date,Api_Key): | |
| Url = "https://api.nasa.gov/planetary/apod?api_key=" + str(Api_Key) |
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 pytube import YouTube | |
| from pyautogui import click | |
| from pyautogui import hotkey | |
| import pyperclip | |
| from time import sleep | |
| def DownloadYouTube(PathToSave): | |
| sleep(2) |