This file contains 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 selenium import webdriver | |
from selenium.webdriver.chrome.service import Service | |
from selenium.webdriver.common.by import By | |
from selenium.webdriver.common.keys import Keys | |
from selenium.common.exceptions import NoSuchElementException | |
import time | |
chrome_driver_path = r"C:\Users\jithe\Downloads\chromedriver_win32\chromedriver.exe" | |
s = Service(chrome_driver_path) |
This file contains 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
<!DOCTYPE html> | |
<html lang="en" dir="ltr"> | |
<head> | |
<meta charset="utf-8"> | |
<title>JITHENDHARR REDDY</title> | |
<link rel="stylesheet" href="css/styles.css"> | |
</head> | |
<body> | |
<!-- <img src="https://p.kindpng.com/picc/s/78-781041_om-button-icon-back-we |
This file contains 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
<!DOCTYPE html> | |
<html lang="en" dir="ltr"> | |
<head> | |
<meta charset="utf-8"> | |
<link rel="stylesheet" href="CSS-My Site/styles.css"> | |
<link rel="icon" href="CSS-My Site/favicon.ico"> | |
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Hurricane&family=Montserrat&family=JetBrains+Mono&family=Mukta&family=Sacramento&display=swap" rel="stylesheet"> | |
<title>SAYIE REDDY</title> | |
</head> |
This file contains 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 | |
from twilio.rest import Client | |
STOCK_NAME = "TSLA" | |
COMPANY_NAME = "Tesla Inc" | |
STOCK_ENDPOINT = "https://www.alphavantage.co/query" | |
NEWS_ENDPOINT = "https://newsapi.org/v2/everything" | |
API_KEY = "xxx" |
This file contains 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 | |
from twilio.rest import Client | |
API_KEY = "xxx" | |
OWM_endpoint = "https://api.openweathermap.org/data/2.5/onecall" | |
weather_parameters = { | |
"lat": 35.652832, | |
"lon": 139.839478, | |
"appid": API_KEY, |
This file contains 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 | |
from datetime import datetime | |
import smtplib | |
import time | |
MY_LAT = 51.507351 # Your latitude | |
MY_LONG = -0.127758 # Your longitude | |
MY_EMAIL = "sXXX@yahoo.com" | |
MY_PASSWORD = "xxx" |
This file contains 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 data import question_data | |
from question_model import Question | |
from quiz_brain import QuizBrain | |
from ui import QuizInterface | |
question_bank = [] | |
for question in question_data: | |
question_text = question["question"] | |
question_answer = question["correct_answer"] | |
new_question = Question(question_text, question_answer) |
This file contains 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 tkinter import * | |
import pandas | |
import random | |
BACKGROUND_COLOR = "#B1DDC6" | |
current_card = {} | |
to_learn = {} | |
# ---------------------------- Step 2 - Create New Flash Cards ------------------------------- # | |
try: |
This file contains 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 tkinter import * | |
from tkinter import messagebox | |
from random import choice, shuffle, randint | |
import pyperclip | |
import json | |
# ---------------------------- PASSWORD GENERATOR ------------------------------- # | |
def generate_password(): |
This file contains 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 math | |
from tkinter import * | |
# ---------------------------- CONSTANTS ------------------------------- # | |
PINK = "#e2979c" | |
RED = "#e7305b" | |
GREEN = "#9bdeac" | |
YELLOW = "#f7f5dd" | |
FONT_NAME = "Courier" | |
WORK_MIN = 25 |
NewerOlder