Tkinter GUI Programming
Examples on Tkinter
Introduction to Tkinter
Tkinter is the python library to create GUI application using python . Using Tkinter we can easily create desktop applications for application softwares , gaming and other applications.
For Tkinter we nee to install tkinter module first then we can create the GUI window and may add widgets to that window.
Steps to use GUI programming in Tkinter:
(a) install module Tkinter using pip
(b) import the tkinter module
(c) create the GUI window
(d) add the GUI widget on the screen
import tkinter as tk # import for python 3
#import Tkinter as tk #import for python 2
root = tk.Tk()
frame = tk.Frame(root)
frame.pack()
root.mainloop()
Output of the above program is as following.
Click Here
Tutorials
C is a very powerful and widely used language. It is used in many scientific programming situations. It forms (or is the basis for) the core of the modern languages Java and C++. It allows you access to the bare bones of your computer.C++ is used for operating systems, games, embedded software, autonomous cars and medical technology, as well as many other applications. Don't forget to visit this section...
Video/ C Introduction
Watch video in full size