Skip to content

Latest commit

 

History

History
38 lines (28 loc) · 1.54 KB

README.md

File metadata and controls

38 lines (28 loc) · 1.54 KB

Tutorial-Tkinter

Its simple Python Tkinter Tutorial examples. Examples are in Jupyter Notebook help to execute codes while learning. It covers the basic concept of Tkinter python module.

1. Why GUI?

In simple words to provide simple Graphical User Interface (GUI) to end users; they can easily use your logic for there own purpose.

2. What is Tkinter?

The Tkinter is standard python module for GUI creation with Tk GUI toolkit. Tkinter is a Python wrapper around a complete Tcl interpreter embedded in the Python interpreter. Tkinter available on multiplatform including windows.

3. Why Tkinter?

  • There are lots of other packages are available for creating great GUI like Qt and GTK. Tkinter is the easiest way to write your GUI program in Python. Its lighter than other available modules.

Setup

  1. Prerequisite: Python 2.x or Python 3.x
  2. Install Tkinter:
  • For Fedora
 sudo yum install python3-tkinter tk-devel
  • For Ubuntu
 sudo apt-get install python3-tk
  • Other modules related to tkinter on pypi
  1. Install Jupyter:
 pip install jupyter
  1. Run jupyter notebook:
 jupyter notebook