# L-30 MCS 260 Mon 28 Mar 2016 : guihello.py
"""
Hello world with a Graphical User Interface.
The code below displays "Hello World!" in a
new window, using the Tkinter GUI library.
"""
from tkinter import Tk, Label
TOP = Tk()      # TOP is the new window
# Label is a widget to design the interface
LBL = Label(TOP, text="Hello World!", \
            width=20, height=5)
# to arrange the widget in a window we call
LBL.pack()      # the geometry manager
TOP.mainloop()  # enter main event loop
