Here we are providing exciting tutorial in Tkinter on how to make a website launcher.

Consider this code

from tkinter import *
import webbrowser

root = Tk()
root.resizable(0, 0)

def open():
    url = entry_1.get()
    webbrowser.open(url)

label_1 = Label(root, text="Enter URL : ")
label_1.grid(row=0, column=0, columnspan=10)

entry_1 = Entry(root)
entry_1.grid(row=1, column=0)

button_1 = Button(root, text="Open Website", command=open, borderwidth=1, relief=SOLID)
button_1.grid(row=2, column=0)

root.mainloop()



Output

output