P
IN[1]
import tkinter as tk
from tkinter import ttk
try :
from ctypes import windll
windll.shcore.SetProcessDpiAwareness(1)
except :
pass
root = tk.Tk()
style = ttk.Style(root)
label = ttk.Label(text = 'Welcome')
label.pack()
style.configure("TLabel", font = ("Segoe UI", 20))
root.mainloop()
OUT[1]
P