how to show gui in python code example Example: python gui import tkinter as tk #Importing the main module window = tk.Tk() window.mainloop()