[Short sentence] easygui for those who want to use a simple GUI with Python very easily

It seems that it is not well known, so I will introduce it. http://easygui.sourceforge.net/

What is this?

It is a Python library that makes it extremely easy to create a simple message box, a dialog asking Yes or No, a dialog asking for the file name to open / save, a dialog for entering characters, numbers, passwords, etc. You can use either Python2 or Python3.

It is not suitable for creating complicated GUI apps, but I think it is useful for small purposes such as wanting one or two user inputs or displaying errors in the GUI.

advantage

Disadvantage

Installation method

pip install easygui

How to use

Tutorial and API are easy to understand.

When I use some of them properly, it looks like this.

from easygui import *
name = enterbox("Input your name", default="Guido")
msgbox("Hello, " + name)
if ynbox("Are you above 18 years old?"):
    age = integerbox("How old are you?", lowerbound=18, upperbound=10000)
filename = fileopenbox("Open file")

Recommended Posts

[Short sentence] easygui for those who want to use a simple GUI with Python very easily
For those who want to write Python with vim
Environment construction for those who want to study python easily with VS Code (for Mac)
A modern environment building procedure for those who want to get started with Python right away
For those who want to learn Excel VBA and get started with Python
5 Reasons Processing is Useful for Those Who Want to Get Started with Python
[Python] I want to use only index when looping a list with a for statement
The first step of machine learning ~ For those who want to implement with python ~
For those who want to start machine learning with TensorFlow2
PyPI registration steps for those who want to make a PyPI debut
Python techniques for those who want to get rid of beginners
A memo for those who want quick socket communication with netcat
A memo for those who use Python in Visual Studio (me)
[Python] It was very convenient to use a Python class for a ROS program.
I want to use MATLAB feval with python
I want to make a game with Python
You can easily create a GUI with Python
I want to use Temporary Directory with Python2
I want to write to a file with Python
Tips for those who are wondering how to use is and == in Python
[Solved] I have a question for those who are familiar with Python mechanize.
Things to keep in mind when using Python for those who use MATLAB
If you want to make a discord bot with python, let's use a framework
[Python] I want to add a static directory with Flask [I want to use something other than static]
I want to tell people who want to import from a higher directory with Python direnv
[Mac] I want to make a simple HTTP server that runs CGI with Python
Anxible points for those who want to introduce Ansible
For those who are new to programming but have decided to analyze data with Python
I want to run a quantum computer with Python
A memorandum for those who use Python very occasionally [API access JSON and XML parsing argument parsing shell command regular expression]
ABC's A problem analysis for the past 15 times to send to those who are new to Python
For those who want to display images side by side as soon as possible with Python's matplotlib
[For those who want to use TPU] I tried using the Tensorflow Object Detection API 2
Solution when you want to use cv_bridge with python3 (virtualenv)
I want to use R functions easily with ipython notebook
Tips for Python beginners to use Scikit-image examples for themselves 4 Use GUI
Experiment to make a self-catering PDF for Kindle with Python
A simple way to avoid multiple for loops in Python
[Python] I want to use the -h option with argparse
I want to use a virtual environment with jupyter notebook!
Creating a GUI as easily as possible with python [tkinter edition]
Reference reference for those who want to code in Rhinoceros / Grasshopper
Use a scripting language for a comfortable C ++ life-OpenCV-Port Python to C ++-
For those of you who don't know how to set a password with Jupyter on Docker
I made a library to easily read config files with Python
Python environment construction 2016 for those who aim to be data scientists
I want to do a full text search with elasticsearch + python
[Introduction to Python] How to use the in operator in a for statement?
How to use an external editor for Python development with Grasshopper
Loose articles for those who want to start natural language processing
[Introduction] I want to make a Mastodon Bot with Python! 【Beginners】
Python: How to use async with
Let's make a GUI with python.
How to use FTP with Python
Easily post to twitter with Python 3
I want to debug with Python
I made a Docker container to use JUMAN ++, KNP, python (for pyKNP).
[Introduction to Udemy Python3 + Application] 47. Process the dictionary with a for statement
[Python] Explains how to use the range function with a concrete example
Gist repository to use when you want to try a little with ansible
[Python / Tkinter] Search for Pandas DataFrame → Create a simple search form to display