Skip to content

Instantly share code, notes, and snippets.

View KaushikShresth07's full-sized avatar

Kaushik Shresth KaushikShresth07

View GitHub Profile
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:
import wolframalpha
def Calculator(Problem,Api_Key):
app_id = set(Api_Key)
client = wolframalpha.Client(app_id)
res = client.query(Problem)
import wikipedia
def Summary(About):
information = wikipedia.summary(About,2)
return information
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:
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)
import pywhatkit
import webbrowser
def YouTubeDirectSearch(Title):
pywhatkit.playonyt(Title)
def YouTubeSearch(Title):
hhtp = "https://www.youtube.com/results?search_query=" + str(Title)
import pywhatkit
import wikipedia
from pywikihow import search_wikihow
def GoogleSearch(term):
Query = str(term)
pywhatkit.search(Query)
from PyDictionary import PyDictionary
def SynonymGet(Word):
diction = PyDictionary()
synon = diction.synonym()
return synon
import pyjokes
def Jokes():
joke = pyjokes.get_joke()
return joke
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: