langakipkoech / Python_Login_Form

Tkinter tutorial provides basic and advanced concepts of Python Tkinter. Our Tkinter tutorial is designed for beginners and professionals. Python provides the standard library Tkinter for creating the graphical user interface for desktop based applications. Developing desktop based applications with python Tkinter is not a complex task. An empty Tkinter top-level window can be created by using the following steps. import the Tkinter module. Create the main application window. Add the widgets like labels, buttons, frames, etc. to the window. Call the main event loop so that the actions can take place on the user's computer screen.
0 stars 0 forks source link

Tkinter use in python #1

Open Mulumbi-Mutisya opened 1 month ago

Mulumbi-Mutisya commented 1 month ago

My tkinter is not defined in my python but I have installed it. How do I go about it for I want to create a window.

saul1310 commented 2 weeks ago

You shouldnt need to install it, Tkinter is part of the base python libraries, just start a file with _import tkinter as tk_

and then paste this

root = tk.Tk()
root.title("Software-window")
root.geometry("1000x1000")
root.mainloop()

this should open a window when ran, hope this helps !