{% if show_rs_banner %} {% else %} {% endif %}
import tkinter as tk
from tkinter import ttk
 

Create the application window

window = tk.Tk()
 

Create the user interface

my_label = ttk.Label(window, text="Hello World")
my_label.grid(row=1, column=1)

quit_button = ttk.Button(window, text="Quit", command=window.destroy)
quit_button.grid(row=2, column=1)
 

Start the GUI event loop

window.mainloop()
{% if show_ethical_ad %}
{% endif %}
You have attempted of activities on this page