diff --git a/class2/day1/GUI.py b/class2/day1/GUI.py new file mode 100644 index 0000000..379e5cd --- /dev/null +++ b/class2/day1/GUI.py @@ -0,0 +1,13 @@ +# Importing the GUI +import tkinter as tk + +# Create the main application window +root = tk.Tk() +root.title("setconst's text editor") + +# Create a text editor within the window +editor = tk.Text(root, width=80, height=20) +editor.pack() + +# Keep the window open +root.mainloop()