easy gui is a module for very easy, very simple GUI programming in Python. easygui is different from other GUI generators because easygui is not event driven. Instead, all GUI interaction is invoked through simple function calls.
easy gui provides an easy-to-use interface for simple GUI interaction with users. It does not require the programmer to know anything about tkinter, frames, widgets, callbacks or lambdas. easygui runs on python 2 and 3 and has no dependencies.
Get the Python toolkit easygui (Recommended learning: Python video tutorial)
First download the toolkit that supports Python from the Internet easygui-0.96 or easygui-0.97.
A website is provided here: https://sourceforge.net/projects/easygui/files/0.96
After decompression, two more files are setup. py and easygui.py two files.
easygui installation
Step one: In the path where the GUI tool package is located, enter the environment, enter dir, and check whether there is an installation file under the file.
Step 2: Command installation
Enter the command
python setup.py install
Just wait for the download!
Open IDLE and introduce easygui.
import easygui
Write test code.
easygui.msgbox('Hello World')
The message box pops up. success!
For more Python related technical articles, please visit the Python Tutorial column to learn!
The above is the detailed content of How to download easygui in python. For more information, please follow other related articles on the PHP Chinese website!