How to make a simple GUI with Python

How to make a simple GUI with Python

By SlashReal | Coding_tuts | 22 Mar 2023


import tkinter as tk

from tkinter import ttk

root = tk.Tk()

root.geometry('300x200')

root.title('My GUI')

root.mainloop()

How do you rate this article?

0



Coding_tuts
Coding_tuts

Programming tutorials

Publish0x

Send a $0.01 microtip in crypto to the author, and earn yourself as you read!

20% to author / 80% to me.
We pay the tips from our rewards pool.

Page not displaying correctly?