Hello everyone, In this post, you will learn How to Create a Simple Window in Python. The example program has been tested and shared in the same post.
Example Program
import tkinter as tk # creating an instance for Tk root = tk.Tk() # setting a title root.title("My Title") # starting a window root.mainloop()
Output
More from my site

Hello, folks, I am a founder of idineshkrishnan.com. I love open source technologies, If you find my tutorials are useful, please consider making donations to these charities.
No responses yet