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
# You need to install pafy, pillow and youtube-dl otherwise it won't work | |
# pip install pafy | |
# pip install pillow | |
# pip install youtube-dl | |
from importlib.util import find_spec as find_lib | |
from os.path import expandvars as os_vars | |
from urllib.request import urlopen | |
from PIL import Image, ImageTk | |
import tkinter.filedialog |