Skip to content

Instantly share code, notes, and snippets.

View KaushikShresth07's full-sized avatar

Kaushik Shresth KaushikShresth07

View GitHub Profile
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)
import os
from datetime import datetime
def Notepad(Content,PathNow,PathToSave):
time = datetime.now().strftime("%H:%M")
filename = str(time).replace(":","-") + "-note.txt"
with open(filename,"w") as file:
import pyjokes
def Jokes():
joke = pyjokes.get_joke()
return joke
from PyDictionary import PyDictionary
def SynonymGet(Word):
diction = PyDictionary()
synon = diction.synonym()
return synon
import pywhatkit
import wikipedia
from pywikihow import search_wikihow
def GoogleSearch(term):
Query = str(term)
pywhatkit.search(Query)
import pywhatkit
import webbrowser
def YouTubeDirectSearch(Title):
pywhatkit.playonyt(Title)
def YouTubeSearch(Title):
hhtp = "https://www.youtube.com/results?search_query=" + str(Title)
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)
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:
import wikipedia
def Summary(About):
information = wikipedia.summary(About,2)
return information
import wolframalpha
def Calculator(Problem,Api_Key):
app_id = set(Api_Key)
client = wolframalpha.Client(app_id)
res = client.query(Problem)