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 os import TMP_MAX | |
| from time import sleep | |
| from notifypy import Notify | |
| import datetime | |
| import os | |
| def RemindMe(Title,Message,time,PathNow,PathToSave): | |
| time = str(time).replace(":","") | |
| timekikli = str(time) |
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 pyautogui | |
| import os | |
| def screenshot(FileName,PathToSave): | |
| path1name = FileName + ".png" | |
| path1 = str(PathToSave) + path1name | |
| kk = pyautogui.screenshot() | |
| kk.save(path1) | |
| os.startfile(path1) |
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 speedtest | |
| def SpeedTest(): | |
| speed = speedtest.Speedtest() | |
| upload = speed.upload() | |
| correct_Up = int(int(upload)/800000) |
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 webbrowser | |
| from time import sleep | |
| import keyboard | |
| def StartApp(Path): | |
| os.startfile(str(Path)) | |
| def CloseApp(Name): |
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 | |
| from googletrans import Translator # pip install googletrans==3.1.0a0 | |
| def TakeHindi(): | |
| command = sr.Recognizer() | |
| with sr.Microphone() as source: | |
| print("Listening......") | |
| command.pause_threshold = 1 | |
| audio = command.listen(source) |
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 AskAnything(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 pytube import YouTube | |
| from pyautogui import click | |
| from pyautogui import hotkey | |
| import pyperclip | |
| from time import sleep | |
| def DownloadYouTube(PathToSave): | |
| sleep(2) |
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 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
| 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') |