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
def gpa_calculator(class_details): | |
if not class_details: | |
print("NO CLASS DETAILS FOR GPA CALCULATOR!") | |
return {"Weighted": "", "Unweighted": ""} | |
LETTER_GPA = { | |
"COLLEGE": { | |
"A": 4.0, | |
"A-": 3.7, |
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.options import Options | |
import time | |
proxy = '208.207.224.119:1337:tfzyxgq:lhr2y' | |
(IPv4, Port, username, password) = proxy.split(':') | |
ip = IPv4 + ':' + Port |
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
class colors: | |
HEADER = '\033[95m' | |
BLUE = '\033[94m' | |
CYAN = '\033[96m' | |
GREEN = '\033[92m' | |
WARNING = '\033[93m' | |
FAIL = '\033[91m' | |
END = '\033[0m' | |
BOLD = '\033[1m' | |
UNDERLINE = '\033[4m' |
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 sys | |
if sys.platform == "darwin": | |
# OS X | |
file_dividers = "/" | |
clear_method = "clear" | |
chromedriver_file = "chromedriver_mac" | |
elif sys.platform == "win32": | |
# Windows |