Exercises, examples and other material relating to training module Y207. This module is presented on Private Courses
and Specially Run Courses
A popular cross-platform Python GUI toolkit for Windows and Unix with native look and feel on each platform.
Related technical and longer articlesGraphic User Interfaces (GUIs)Solution Centre - all article listingSolution Centre - all article listing
|Articles and tips on this subject||updated|
|4589||Principles or a GUI and their practical application using wxPthon|
From today's training - a private course that was brief Python revision followed by an introduction to GUIs (in the form of wxPython ...
I started with a generic intordcution to GUIs ... written in the form of a source code file in Python:
# principles of a GUI
|3139||Steering our Python courses towards wxPython, SQLite and Django|
With our modular courses that we write ourselves, we've well placed to move forward with technology; more often than not, what's needed is a series of gentle changes, adding in the occasional module for private courses where a particular new subject is needed, with it being introduced into public courses ...
|3092||wxPython geometry - BoxSizer example|
Rather than manually position each of your widgets in a window in wxPython, you can use a Sizer; there are various type of GridSizer that let you define rows and columns of widgets, and there's a BoxSizer which lets you set up either a single row or a single column. Here's a single column example.
|3086||Sizers (geometry control) in a wxPython GUI - a first example|
In all GUI (Graphic User Interfaces), you define components / widgets, you define how they're laid out, and you define what's to happen when an even occurs, such as a button is pressed. All this definition can take quite a lot oflines of code, and it's not uncommon to find even 'simple' examples in ...
|3081||wxPython - simple example to add GUI to a server log file analysis|
On our Python courses, we briefly introduce the various GUIs (Graphic User Interfaces), and where we have delegate(s) with an interest in one particular GUI, we'll spend a little longer on examples within a GUI. If delegates need to go deeper into GUI programming, we can provide an extra one day course ...
|2887||Snow Leopard and Python (that is OS X 10.6 and wxPython)|
I'm impressed by how few "issues" I have had in switching to the new Mac I an using for most courses, running Mac OS X 10.6.4 - that's "Snow Leopard". But I got a screen-full when I called up the wx GUI in Python:
wizard:python graham$ python food
Traceback (most recent call last):
File "food", ...
|2744||PyQt (Python and Qt) and wxPython - GUI comparison|
We're running a tailored 3 day Python course at present, using Python 3 if it's practical, and today we compared the two contenders for the "Top GUI" prize - that's Python with Qt (PyQt) and wxPython. Now wxPython isn't yet available in Python 3, but PyQt is - although some of the documentation refers ...
|2013||wxPython - Introduction and sample|
Python has a number of GUIs ... and these days wxPython is the most popular. As one of the latter sessions of yesterday's Python Programming Course, I introduced the GUI and talked a little about how it's programmed, and the delegates put together a short sample application.
wxPython uses Python. ...
|903||Pieces of Python|
From a most interesting Saturday which was spent doing a one on one session on thread, wxPython, etc - some Python snippets that provide unusual demos and hard-to-find answers:
The Backtic operator evaluates an expression and returns the result as a string
val1 = 16
val2 = 18
result = "The result ...
Examples from our training material
Some modules are available for download
as a sample of our material or under an Open Training Notes License
for free download from [here]
Topics covered in this module
Hello wxPython world.
A simple wxPython application.
wxPython window layouts.
Contstraints, layout algorithms, sizers and resources.
If you are looking for a complete course and not just a information on a single subject, visit our Listing and schedule
Well House Consultants specialise in training courses in
. We run
throughout the UK (and beyond for longer courses), and
at our training centre in Melksham, Wiltshire, England.
It's surprisingly cost effective to come on our public courses -
even if you live in a different
country or continent to us
We have a technical library of over 700 books on the subjects on which we teach.
These books are available for reference at our training centre.