For 2021 - online Python 3 training - see ((here)).
Our plans were to retire in summer 2020 and see the world, but Coronavirus has lead us into a lot of lockdown programming in Python 3 and PHP 7.
We can now offer tailored online training - small groups, real tutors - works really well for groups of 4 to 14 delegates. Anywhere in the world; course language English.
Please ask about private 'maintenance' training for Python 2, Tcl, Perl, PHP, Lua, etc.
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 to the C interface rather then the Python one as yet.
Here's an example of a Qt application that's got a selector box in which you can pull down a menu, then a button you can click on to vote, with the vote being appended to a file. Source code [here]
. It's using Qt4, and it shows the basics. There's no pretence of the code being tidy or well commented, nor the application being robust - it's definitely a "show you the mechanism" example.
And in contrast, here's the same functionality in a wxPython application - selector box, buttons, labels, etc. Source code - once again neither tidy nor robust but rather "shows you how" - [here]
The look and feel is very different - partly because the GUIs are shown on a Mac and a Windows platform and both of these Python GUIs inherit their style from the native graphics of the host operating system (a good thing, as it makes for consistent windows on each user's computer).
So which do I recommend / which will our customer be using? In their particular case, they need to start doing things and having elementary code up and running very rapidly, and then they'll be revisiting the code year after year in an educational environment. As it's running in Python 3.1, and they want to start and remain with Python 3, their decision is to go with Qt. For others, the decision will be less clear cut.
(written 2010-04-28, updated 2010-05-06)
Associated topics are indexed as below, or enter http://melksh.am/nnnn for individual articlesY207 - wxPython 
Pieces of Python - (2006-10-23) 
wxPython - Introduction and sample - (2009-01-29) 
Snow Leopard and Python (that is OS X 10.6 and wxPython) - (2010-07-26) 
wxPython - simple example to add GUI to a server log file analysis - (2010-12-08) 
Sizers (geometry control) in a wxPython GUI - a first example - (2010-12-15) 
wxPython geometry - BoxSizer example - (2010-12-17) 
Steering our Python courses towards wxPython, SQLite and Django - (2011-01-19) 
Principles or a GUI and their practical application using wxPthon - (2015-11-30)Y206 - Python and the Qt GUI 
Python Qt, wX, TkInter, and Jython - training?? - (2007-01-16) 
Model - View - Controller demo, Sqlite - Python 3 - Qt4 - (2010-04-29)Y203 - GUIs and Graphics in Python 
Choosing your Python GUI - wx, Qt, Tk or GTK? - (2011-10-13)S200 - MySQL - SQLite 
The future of MySQL - (2010-01-03) 
Connecting Python to sqlite and MySQL databases - (2010-04-28) 
Factory methods and SqLite in use in a Python teaching example - (2010-05-29) 
Perl - database access - DBD, DBI and DBIx modules - (2010-12-22) 
Files or Databases? MySQL, SQLite, or Oracle? - (2011-04-28) 
Ruby / SQLite3 example program, showing JOIN v LEFT JOIN - (2013-02-16) 
Which database should I use? MySQL v SQLite - (2013-02-16) 
SQL databases from Python - an SQLite example - (2013-03-02)
Some other Articles
Monitoring the success and traffic of your web siteContainment, Associative Objects, Inheritance, packages and modulesPyQt (Python and Qt) and wxPython - GUI comparisonPublic Open Source Training Courses running this summer and autumn in MelkshamA simple server benchmark scriptWhat is a factory?Melksham Hustings at George Ward SchoolMelksham Scouts
4759 posts, page by page
Link to page ... 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96 at 50 posts per page
This is a page archived from The Horse's Mouth at
the diary and writings of Graham Ellis.
Every attempt was made to provide current information at the time the
page was written, but things do move forward in our business - new software
releases, price changes, new techniques. Please check back via
our main site for current courses,
prices, versions, etc - any mention of a price in "The Horse's Mouth"
cannot be taken as an offer to supply at that price.
Link to Ezine home page (for reading).
Link to Blogging home page (to add comments).