creating a basic gui using tkinter code example
Example 1: python gui
import tkinter as tk
#Importing the main module
window = tk.Tk()
window.mainloop()
Example 2: how to create tkinter window
import tkinter
master = tkinter.Tk()
master.mainloop()