# tutorial-tkinter **Repository Path**: chai016/tutorial-tkinter ## Basic Information - **Project Name**: tutorial-tkinter - **Description**: No description available - **Primary Language**: Unknown - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-06-17 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Tutorial-Tkinter Its simple Python Tkinter Tutorial examples. Examples are in [Jupyter Notebook](http://jupyter.org/index.html) help to execute codes while learning. It covers the basic concept of [Tkinter python module](https://docs.python.org/2/library/tkinter.html). ## 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](https://www.tcl.tk/software/tcltk/) 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](https://www.qt.io/) and [GTK](https://www.gtk.org/). Tkinter is the easiest way to write your GUI program in Python. Its lighter than other available modules. ## Setup 1. Prerequisite: [Python 2.x](https://www.python.org/downloads/) or [Python 3.x](https://www.python.org/downloads/) 2. Install Tkinter: - For Fedora ```{r, engine='bash', count_lines} sudo yum install python3-tkinter tk-devel ``` - For Ubuntu ```{r, engine='bash', count_lines} sudo apt-get install python3-tk ``` - Other modules related to tkinter on [pypi](https://pypi.python.org/pypi?%3Aaction=search&term=tkinter) 3. Install Jupyter: ```{r, engine='python', count_lines} pip install jupyter ``` 4. Run jupyter notebook: ```{r, engine='bash', count_lines} jupyter notebook ```