How to use a image from the web for tkinters taskbar icon
Python:
# Do the imports
import tkinter as tk
from urllib.request import urlopen
# Initiate the root window
root = tk.Tk()
# get the image from an url
img_url = urlopen('https://my-python.org/images/png/ratt.png')
# Read the data from the image
img = img_url.read()
# Use tkinter PhotoImage encode the image
image = tk.PhotoImage(data=img)
# Set the taskbar icon - True to show on all windows False to show on current window
root.wm_iconphoto(True,image)
root.mainloop()