background preloader

GuiProgramming

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

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

Graphics Programming Black Book Michael Abrash's classic Graphics Programming Black Book is a compilation of Michael's previous writings on assembly language and graphics programming (including from his "Graphics Programming" column in Dr. Dobb's Journal). Much of the focus of this book is on profiling and code testing, as well as performance optimization. It also explores much of the technology behind the Doom and Quake 3-D games, and 3-D graphics problems such as texture mapping, hidden surface removal, and the like. Thanks to Michael for making this book available. The full text of the book is available here in PDF format. If you keep all files in the same directory, the "Previous" and "Next" links at the beginning and end of each chapter will work (provided you have downloaded those chapters). NOTE: Each chapter also has a "Home" link at its beginning and end. The complete book is 153 MB in size. Source code (1.7 MB) Graphics Programming Black Book © 2001 Michael Abrash

appJar Sadly there is some hint of truth in this wxPython Lindsay Composer: Bringing Virtual Physiology Alive 2 | LINDSAY Virtual Human Overview Lindsay Composer (LComposer) provides access to simulations of physiological processes within the human male and female body. LComposer integrates interactive 3-dimensional physiology across scales: from systems and organs to tissues, cells, and sub-cellular structures. LComposer provides a graphical programming interface for the composition of physiological models, which can be annotated and turned into interactive educational scenarios. Graphical Programming Interface Building a simulation in LINDSAY Composer is done via a drag and drop interface. Connect with Kinect. The LINDSAY Virtual Human team is working to integrate the Microsoft Kinect, a motion-sensing input device for the Xbox 360 gaming console, into LINDSAY Composer. Features 3-dimensional Scene Exploration Similar to first-person 3D computer games, the LINDSAY Composer creates an environment that immerses the user into a virtual 3-dimensional world, with the context of anatomical structures and processes.

chromiumembedded / cef The Chromium Embedded Framework (CEF) is a simple framework for embedding Chromium-based browsers in other applications. CEF is a BSD-licensed open source project founded by Marshall Greenblatt in 2008 and based on the Google Chromium project. Unlike the Chromium project itself, which focuses mainly on Google Chrome application development, CEF focuses on facilitating embedded browser use cases in third-party applications. CEF insulates the user from the underlying Chromium and Blink code complexity by offering production-quality stable APIs, release branches tracking specific Chromium releases, and binary distributions. Most features in CEF have default implementations that provide rich functionality while requiring little or no integration work from the user. CEF supports a wide range of programming languages and operating systems and can be easily integrated into both new and existing applications. The CEF project is an extension of the Chromium project.

Bin Laden relied on thumb drive couriers to evade email detection Osama bin Laden used a simple but clever way to send lots of emails without being detected by the U.S., the Associated Press reports. Citing interviews with counter-terrorism sources in the U.S. government, the AP said that bin Laden used thumb drives, the flash memory sticks that can hold a considerable number of email messages, to send his emails. Bin Laden had no phone, and his own computer wasn’t connected to the internet. (That helped CIA analysts figure out there was something fishy about his home: why would a rich person living in an expensive compound not be connected to the internet?) But he evidently wrote thousands of emails. That pretty much guaranteed that bin Laden couldn’t be located by hunting down the origins of his email address or his internet connection. The Navy SEAL team reportedly hauled away 100 flash memory drives after they killed bin Laden.

Graphic User Interface FAQ — Python 3.6.2 documentation What platform-independent GUI toolkits exist for Python? Depending on what platform(s) you are aiming at, there are several. Some of them haven’t been ported to Python 3 yet. At least Tkinter and Qt are known to be Python 3-compatible. Tkinter Standard builds of Python include an object-oriented interface to the Tcl/Tk widget set, called tkinter. Qt There are bindings available for the Qt toolkit (using either PyQt or PySide) and for KDE (PyKDE4). Qt 4.5 upwards is licensed under the LGPL license; also, commercial licenses are available from The Qt Company. Kivy Kivy is a cross-platform GUI library supporting both desktop operating systems (Windows, macOS, Linux) and mobile devices (Android, iOS). Kivy is free and open source software distributed under the MIT license. Tkinter questions How do I freeze Tkinter applications? Freeze is a tool to create stand-alone applications. Can I have Tk events handled while waiting for I/O? I can’t get key bindings to work in Tkinter: why?

XSLT and XQuery Processing python - Iterating over every two elements in a list

Related: