Create a GUI application in Python that displays a greeting message when opened.
Not applicable
import tkinter as tk
 
root = tk.Tk()

# Create greeting label
greeting = tk.Label(text='Hello World!')
greeting.pack()

tk.mainloop()