how to make a interface with python code example
Example 1: tkinter tutorial
#Import
import tkinter as tk
from tkinter import ttk
#Main Window
window=tk.Tk()
#Label
label=ttk.Label(window,text="My First App")
#Display label
label.pack()
#Making sure that if you press the close button of window, it closes.
window.mainloop()
Example 2: python gui
import tkinter as tk
#Importing the main module
window = tk.Tk()
window.mainloop()