How to download easygui in python

(*-*)浩
Release: 2019-07-09 10:27:25
Original
14437 people have browsed it

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.

How to download easygui in python

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
Copy after login

Just wait for the download!

Open IDLE and introduce easygui.

import easygui
Copy after login

Write test code.

easygui.msgbox('Hello World')
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template