Python EasyGUI module - Introduction Last Updated : 09 Jun, 2021 Summarize Comments Improve Suggest changes Share Like Article Like Report EasyGUI is a module for very simple, very easy GUI programming in Python. EasyGUI is different from other GUI generators in that EasyGUI is NOT event-driven. Instead, all GUI interactions are invoked by simple function calls. Unlike other complicated GUI's EasyGUI is the simplest GUI till now. Install using this command: pip install easygui Note : It is not recommended to run EasyGui on IDLE as EasyGui runs on Tkinter and has its own event loop, and IDLE is also an application written by Tkinter module and also it has its own event loop. So when both are run at the same time, conflicts can occur and unpredictable results can occur. So it is preferred to run EasyGui out side the IDLE. Importing EasyGUI from easygui import * It is the best way to use all the widgets without extra reference. Example : In this we will create a window having a short message and a press button which when pressed closes our message box, below is the implementation Python3 # importing easygui module from easygui import * # title of our window title = "GfG-EasyGUI" # message for our window msg = "GeeksforGeeks, Hello World from EasyGUI" # button message by default it is "OK" button = "Let's Go" # creating a message box msgbox(msg, title, button ) Output : "Let's Go" Another Example: In this we will allow user to choose the "geek form" and when ans is selected it will get printed, below is the implementation Python3 # importing easygui module from easygui import * # choices which user can select choices = ["Geek", "Super Geek", "Super Geek 2", "Super Geek God"] # message / question to be asked msg = "Select any one option" # opening a choice box using our msg and choices reply = choicebox(msg, choices = choices) # printing the selected option print("You selected : ", end = "") print(reply) Output : You selected : Super Geek God Comment More infoAdvertise with us Next Article Introduction to auto-py-to-exe Module R rakshitarora Follow Improve Article Tags : Python Python-gui Python-EasyGUI Practice Tags : python Similar Reads Introduction to auto-py-to-exe Module In the world of Python development, sharing your application with users who may not have Python installed can be challenging. auto-py-to-exe is a powerful tool that simplifies this process by converting Python scripts into standalone executable files (.exe) for Windows. This makes it easier to distr 4 min read Built-in Modules in Python Python is one of the most popular programming languages because of its vast collection of modules which make the work of developers easy and save time from writing the code for a particular task for their program. Python provides various types of modules which include Python built-in modules and ext 9 min read Python Module Index Python has a vast ecosystem of modules and packages. These modules enable developers to perform a wide range of tasks without taking the headache of creating a custom module for them to perform a particular task. Whether we have to perform data analysis, set up a web server, or automate tasks, there 4 min read AppJar module in Python The appJar library is designed to provide the easiest way to create a GUI using Python. It is a wrapper around the Tkinter, to allow the secondary school students to develop simple GUI in Python. appJar is designed in such a way that it can run on many versions of Python so it would be really easy t 5 min read Python EasyGUI â Integer Box Integer Box : It is used to get the integer input from the user, input should be integer input not string which happens in enter box. It displays the title, message to be displayed, place to enter a integer input and a pair of "Ok", "Cancel" button which is used confirm the input. We can set some de 3 min read Python EasyGUI â Enter Box Enter Box : It is used to get the input from the user, input can be any keyboard input, it takes input in form of string. It displays the title, message to be displayed, place to enter a text and a pair of "Ok", "Cancel" button which is used confirm the input. Also we can set some default text to th 2 min read Like