Question: How do you create a **hyperlink** using a `Label` in Tkinter?

A quick search did not reveal how to do this. Instead there were only solutions to create a hyperlink in a `Text` widget.

Answer: 
Alternatively if you have multiple labels and want the one function for all. That is assuming you have the link as the text

```
import tkinter as tk
import webbrowser

def callback(event):
    webbrowser.open_new(event.widget.cget("text"))

root = tk.Tk()
lbl = tk.Label(root, text=r"http://www.google.com", fg="blue", cursor="hand2")
lbl.pack()
lbl.bind("<Button-1>", callback)
root.mainloop()

```
You can simply import webbrowser, add a function and call that inside of the button. Declare your layout manager. Here is how the code looks like:

```
from tkinter import *
import webbrowser

# Displaying the root window
window = Tk()
window.config(padx=100, pady=100)

# Function Declaration
def callback():
    webbrowser.open_new("https://www.google.com/")

# Button Declaration
your_variable_name = Button(text="button_name", command=callback)
your_variable_name.grid(column=2, row=3)

# keeping the Tkinter Interface running
window.mainloop()

```

FYI. It'll open in computer's default browser