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
# 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 |
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
# 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: |