Skip to content

Instantly share code, notes, and snippets.

View thelocalgodd's full-sized avatar

KPEMLIE VINCENT KWAKU thelocalgodd

View GitHub Profile
@thelocalgodd
thelocalgodd / quotes_scrape.py
Last active December 23, 2023 13:32
This is a Jupyter Notebook for Scraping Quotes of quotes.toscrape.com | It is modified to use selenium in Google Colab
# Importing all the necessary packages
import sys
sys.path.insert(0, 'usr/lib/chromium-browser/chromedriver')
from selenium import webdriver
import chromedriver_autoinstaller
from selenium.webdriver.common.by import By
from bs4 import BeautifulSoup
from urllib.request import urlopen
@thelocalgodd
thelocalgodd / texteditor.py
Created November 27, 2023 13:02
Python code to build a Text Editor
# Importing the necessary modules
import sys
import tkinter as tk
from tkinter import filedialog
# Checking the Python version and importing the appropriate modules
v = sys.version
if "2.7" in v:
from Tkinter import *
elif "3.3" in v or "3.4" in v: