background preloader

Python-and-gui

Facebook Twitter

EasyGui. Last revision date: 2011-11-08 1 A warning about using EasyGui with IDLE You may encounter problems using IDLE to run programs that use easygui. Try it and find out. easygui is a collection of Tkinter routines that run their own event loops. IDLE is also a Tkinter application, with its own event loop. The two may conflict, with the unpredictable results. 2 Introduction In easygui, all GUI interactions are invoked by simple function calls. Here is a simple demo program using easygui. . # save this file as ......| test1.py # run this file this way..| python test1.py import easygui as eg import sys while 1: title = "Message from test1.py" eg.msgbox("Hello, world!

" 3 EasyGui's demonstration routine To run EasyGui's demonstration routine, invoke EasyGui from the command line this way: python easygui.py or from an IDE (such as IDLE, PythonWin, Wing, etc.) this way: import easygui as eg eg.egdemo() 4 Importing EasyGui In order to use EasyGui, you must import it. from easygui import * msgbox(...) 8.1 msgbox. GuiProgramming. Python has a huge number of GUI frameworks (or toolkits) available for it, from TkInter (traditionally bundled with Python, using Tk) to a number of other cross-platform solutions, as well as bindings to platform-specific (also known as "native") technologies.

Cross-Browser Frameworks Cross-Platform Frameworks The major cross-platform technologies upon which Python frameworks are based include GTK, Qt, Tk and wxWidgets, although many other technologies provide actively maintained Python bindings. Platform-specific Frameworks GUI Design Tools and IDEs - Wikipedia article describing several IDE's and GUI Builders. Editorial Notes The above lists should be arranged in ascending alphabetical order - please respect this when adding new frameworks or tools. CategoryPyGUI. Gui2py-0.9b-py3k.win-amd64.exe - gui2py - gui2py second alpha release (0.9b) - windows 64 bits binary installer for py3.x - Simple and powerful GUI framework for agile development. EasyGui 0.96. Downloads - gui2py - Simple and powerful GUI framework for agile development.