473,786 Members | 2,611 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

GUI Frameworks in Python?

I've recently been trying out various different GUI frameworks in Python and
was wondering if I could get your input on the pros and cons of the
different ones...

wxPython: I love the programming side of wxPython, but I find it's just so
slow to initialise in the first place.

Tkinter: While it's fast to load up, the syntax has never really appealed to
me

GTK: Unknown - I'm looking into it today

Qt: I have yet to manage to install it on my system

Anything else?
Hugh Macdonald
Jul 18 '05 #1
59 4307
Hugh Macdonald wrote:
I've recently been trying out various different GUI frameworks in Python and
was wondering if I could get your input on the pros and cons of the
different ones...

wxPython: I love the programming side of wxPython, but I find it's just so
slow to initialise in the first place.


I don't understand this, though it's been mentioned before.

On my machine, launching the wxPython Demo app takes roughly 0 seconds
before the splash screen appears, and I can immediately click on it
and get the app itself, for a total launch time of: immeasurably fast.

I would think, given the size of the demo itself, that just about
anything it does should be representative of other apps on the
same machine.

For the record, running WinXP AMD 2200 with adequate RAM etc.

Are these reports of slow wxPython startup only coming from really old
machines or something?

-Peter
Jul 18 '05 #2
Peter Hansen wrote:
...
I don't understand this, though it's been mentioned before.

On my machine, launching the wxPython Demo app takes roughly 0 seconds
before the splash screen appears, and I can immediately click on it
and get the app itself, for a total launch time of: immeasurably fast.


On my machine (WinXP Pro, AMD 2400, 512MB) it takes a little over three
seconds before the splash shows and maybe another two seconds for the
main frame to show. It takes a little over a second to load IDLE.

greg
Jul 18 '05 #3
Greg Krohn wrote:
On my machine (WinXP Pro, AMD 2400, 512MB) it takes a little over three
seconds before the splash shows and maybe another two seconds for the
main frame to show. It takes a little over a second to load IDLE.


Roughly the same here: 2-3 seconds for the Demo and my own wxPython app to
start on a Mac G5. Around 3 seconds on my Pentium II 333 MHz with Linux and
Win2000 as well - you don't need a GHz CPU to create a window with Python.
The only limitation I can think of is limited memory so the OS needs to swap
to free some space first. CPU speed is not a serious factor.
I personally consider wxPython the best choice for a Python GUI. Tkinter
apps look too alien to the common Windows enduser. Of course that depends on
the target audience and might be an issue or not.

Peter
Jul 18 '05 #4
pyGTK is also a good GUI frameworks but it's not available now for windows
platform. I suppose it's its most important shortage.

Phipps
"Hugh Macdonald" <Hu***********@ brokenpipefilms .com> wrote in message
news:ma******** *************** *************** @python.org...
I've recently been trying out various different GUI frameworks in Python and was wondering if I could get your input on the pros and cons of the
different ones...

wxPython: I love the programming side of wxPython, but I find it's just so
slow to initialise in the first place.

Tkinter: While it's fast to load up, the syntax has never really appealed to me

GTK: Unknown - I'm looking into it today

Qt: I have yet to manage to install it on my system

Anything else?
Hugh Macdonald

Jul 18 '05 #5
On Tue, 30 Mar 2004 16:11:55 +0800
"Phipps Xue" <ph********@sap .com> wrote:
pyGTK is also a good GUI frameworks but it's not available now for
windows platform. I suppose it's its most important shortage.


I'm developing for Linux, so that's less of an issue for me.... Although I did check out the pyGTK module we've got installed here at work and it seems very slightly different from the version in the pyGTL tutorials(mainl oop() instead of main_loop(), GtkWindow() instead of Window()...)

--
Hugh Macdonald
The Moving Picture Company

Jul 18 '05 #6
P
Hugh Macdonald wrote:
I've recently been trying out various different GUI frameworks in Python and
was wondering if I could get your input on the pros and cons of the
different ones...

wxPython: I love the programming side of wxPython, but I find it's just so
slow to initialise in the first place.

Tkinter: While it's fast to load up, the syntax has never really appealed to
me

GTK: Unknown - I'm looking into it today


I have to recommend GTK, especially in combination with libglade.
I've a presentation and a couple of sample apps here:
http://www.pixelbeat.org/talks/pygtk

Pádraig.
Jul 18 '05 #7
"Hugh Macdonald" <Hu***********@ brokenpipefilms .com> writes:
I've recently been trying out various different GUI frameworks in Python and
was wondering if I could get your input on the pros and cons of the
different ones...

wxPython: I love the programming side of wxPython, but I find it's just so
slow to initialise in the first place.

Tkinter: While it's fast to load up, the syntax has never really appealed to
me

GTK: Unknown - I'm looking into it today

Qt: I have yet to manage to install it on my system

Anything else?


I'm very happy with web interface :-)

--
Wilk - http://flibuste.net
Jul 18 '05 #8
Hugh Macdonald wrote:

Qt: I have yet to manage to install it on my system

Its relatively easy to install and evaluate Qt/PyQt and Eric3
(associated IDE) on a Linux box. That's the easy path.

But its a LOT of work to try on a Windows box. Both Qt and PyQt have
licenses which allow non-commercial use on Linux but ONLY commercial use
on Windows and NO easy path to an evaluation version.

I requested an evaluation versions of Qt for Windows from TrollTech and
didn't get a response for 5 days. Even then it was a response asking
for more detailed information about me, my company and the purpose of
the evaluation. Nothing wrong with that, of course, except the whole
process suddenly looked to be a very protracted one. It wasn't even
clear to me that I could then get an evaluation licence for PyQt. I gave
up. Too hard.

In the end, I found the easiest way to *partially* evaluate PyQt on
Windows is to download the evaluation version of the "BlackAdder " IDE
from "The Kompany". BlackAdder is a toy IDE (IMO) but it does give you
evaluation access to most of the Qt/PyQt libs and to 'Designer' the VERY
IMPRESSIVE GUI builder that comes with Qt. The Qt/PyQt libs provided
with BlackAdder do not include some important parts of the full Qt/PyQt
combination: data aware widgets, etc.

I also note that even full PyQt does not support the ActiveX parts of Qt
which turned out to be a problem for me. Phil Thompson (Mr PyQt) seems
interested in adding ActiveX support, but nothing is there yet.

Also Note: Eric3 is an impressive IDE that targets PyQt development. But
you can't seem to evaluate it on windows, even if you have the
BlackAdder demo version installed, because it requires a component that
only comes with the full Qt/PyQt lib.

So all in all, I wouldn't even try to evaluate PyQt/Qt on Windows, just
go straight to a Linux box. (And be aware of the ActiveX limitations of
PyQt once you get back to Windows).

You also need to be aware of the cost of PyQt/Qt. Its expensive! About
US$2500 for Qt (per seat) and 250 English pounds for PyQt (per seat).

Buying BlackAdder seems to give you access to a subset of the full
PyQt/Qt libraries at a significantly reduced cost.


Anything else?


No. You've covered the main ones.

If evaluating wxPython, you may also want to look at wxDesigner. It not
a patch on Qt's Designer, but it seemed to me to be the best available.
There's also wxGlade and Boa.
BTW, I was recently reacquainted with VisualWorks (Smalltalk from
CinCom) ... not THAT's an IDE!! What a shame Python was nothing to come
close, despite both languages sharing a similar dynamic nature.

--
Mike

Jul 18 '05 #9
Hugh Macdonald wrote:
I've recently been trying out various different GUI frameworks in Python and
was wondering if I could get your input on the pros and cons of the
different ones...

wxPython: I love the programming side of wxPython, but I find it's just so
slow to initialise in the first place.


Not noticed this myself but I would like to add here that wxPython is
wonderfully portable. I have run wxPython apps on my OSX machine that
were developed exclusively on a Windows machine without any problems.

Portability is my biggest concern when writing GUI code so I would push
for wxPython.
Jul 18 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

14
2710
by: mirnazim | last post by:
Hi, There are great Python Web Application Framework. But most of them are meant for content oriented web apps. Is there something that can ease the development of application that are not content oriented(I call them "NON CONTENT-ORIENTED WEB APPLICATIONS" because I don't know what else to call them). I mean the applications like, accounting, high volume data entry apps, where normally GUI clients have ruled. I know very high...
0
1265
by: Ravi Teja | last post by:
Why is no one talking about ActiveGrid, which at least on the surface seems to be the most polished way to build web applications in Python so far. They have a sound financial backing, $10 million when I last heard, made news on non-Python circles, have a relatively friendly authoring environment and are probably addressing the enterprise more specifically than any other web framework. It somehow did not grow on me but I would love to...
2
1313
by: Ed Leafe | last post by:
I may have an opportunity to develop an online ordering system for a client, and will have the ability to develop using any tool I choose. Given the fact that there are more web frameworks in Python than keywords ;-) , what I need to know is any experience anyone out there has had integrating credit card processing with the various Python web frameworks. Until now, my only practical experience is with Zope 2.x, but I'm open to any and all...
1
1380
by: GinTon | last post by:
I have created several tables in CSV format with globalization data (G11n). There are tables for countries, areas, languages, countries & languages, time zones, phones. And they are licensed under a Creative Commons license. http://svn.webda.python-hosting.com/trunk/G11n_data/ I created a new discussion group in order to facilitate the integration of G11n data in any framework. It's focused on integrate it on Django and TurboGears,...
4
1212
by: Shortash | last post by:
Hi Gurus, I want to build a Python web app but im not sure which one to go for. I prefer something like asp.Net , which would allow me to fully seperate the presentation layer from the logic. Please advise? thanks, "Shortash'
4
1942
by: Evan Klitzke | last post by:
Hi all, What frameworks are there available for doing pattern classification? I'm generally interested in the problem of mapping some sort of input to one or more categories. For example, I want to be able to solve problems like taking text and applying one or more tags to it like "romance", "horror", "poetry", etc. This isn't really my research specialty, but my understanding is that Bayesian classifiers are generally used for problems...
37
2580
by: Michele Simionato | last post by:
At work we are shopping for a Web framework, so I have been looking at the available options on the current market. In particular I have looked at Paste and Pylons and I have written my impressions here: http://www.phyast.pitt.edu/~micheles/python/yet-another-comparison-of-web-frameworks.html I do not speak too well of Pylons, so if you thing I am wrong feel free to correct me here ;)
29
1582
by: joe jacob | last post by:
There are a lot of web frameworks for python like django, mod_python, spyce, turbo gears, Zope, Cherrypy etc. Which one is the best in terms of performance and ease of study.
7
1440
by: Phillip B Oldham | last post by:
Are there any python micro-frameworks (like ruby's Camping)?
0
9650
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10363
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10164
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10110
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8992
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6748
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5534
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4067
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3670
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.