473,666 Members | 2,075 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Re: What is the best Python GUI API?

Abah Joseph wrote:
What is the best Python GUI API? I am planning to start my first GUI
application and I need something easy and cross platform. Qt
applications look beautiful but I hate the license. What do you advice?
I agree about the Qt-license,
and I'm now a happy wxPython user.

cheers,
Stef
------------------------------------------------------------------------

--
http://mail.python.org/mailman/listinfo/python-list
Nov 13 '08 #1
5 4285
On 13 Nov, 18:59, Stef Mientki <stef.mien...@g mail.comwrote:
Abah Joseph wrote:
What is the best Python GUI API? I am planning to start my first GUI
application and I need something easy and cross platform. Qt
applications look beautiful but I hate the license. What do you advice?

I agree about the Qt-license,
and I'm now a happy wxPython user.
I too have had good results with wxwidgets when developing a GUI. The
cross-platform native look and feel was a major benefit from my point
of view allowing screens to "look native" under different OSs with no
code changes.

--
James
Nov 13 '08 #2
rm
On Nov 13, 2:23*pm, James Harris <james.harri... @googlemail.com >
wrote:
On 13 Nov, 18:59, Stef Mientki <stef.mien...@g mail.comwrote:
Abah Joseph wrote:
*What is the best Python GUI API? I am planning to start my first GUI
application and I need something easy and cross platform. Qt
applications look beautiful but I hate the license. What do you advice?
I agree about the Qt-license,
and I'm now a happy wxPython user.

I too have had good results with wxwidgets when developing a GUI. The
cross-platform native look and feel was a major benefit from my point
of view allowing screens to "look native" under different OSs with no
code changes.

--
James
Not so good if your native Linux look is KDE. ;) I also hate the fact
that the GTK File Save/Open dialog box does not allow file/folder
renames. On Windows, however, wxPython is great. I guess it depends
on how big your application is and what is the target audience/
clientele.
Nov 13 '08 #3
rm wrote:
On Nov 13, 2:23 pm, James Harris <james.harri... @googlemail.com >
wrote:
>On 13 Nov, 18:59, Stef Mientki <stef.mien...@g mail.comwrote:

>>Abah Joseph wrote:

What is the best Python GUI API? I am planning to start my first GUI
applicatio n and I need something easy and cross platform. Qt
applicatio ns look beautiful but I hate the license. What do you advice?

I agree about the Qt-license,
and I'm now a happy wxPython user.
I too have had good results with wxwidgets when developing a GUI. The
cross-platform native look and feel was a major benefit from my point
of view allowing screens to "look native" under different OSs with no
code changes.

--
James

Not so good if your native Linux look is KDE. ;) I also hate the fact
that the GTK File Save/Open dialog box does not allow file/folder
renames. On Windows, however, wxPython is great. I guess it depends
on how big your application is and what is the target audience/
clientele.
Ok you only guess, but ...
... you're suggesting
- that if the application is too big, wxPython is not a good choice.
What's big ?
- if the target is ... ??? ... it's not a good choice, for what audience
is wxPython not suited ?
thanks,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list
Nov 14 '08 #4
rm
On Nov 13, 7:08*pm, Stef Mientki <stef.mien...@g mail.comwrote:
rm wrote:
On Nov 13, 2:23 pm, James Harris <james.harri... @googlemail.com >
wrote:
On 13 Nov, 18:59, Stef Mientki <stef.mien...@g mail.comwrote:
>Abah Joseph wrote:
>>*What is the best Python GUI API? I am planning to start my first GUI
application and I need something easy and cross platform. Qt
application s look beautiful but I hate the license. What do you advice?
>I agree about the Qt-license,
and I'm now a happy wxPython user.
I too have had good results with wxwidgets when developing a GUI. The
cross-platform native look and feel was a major benefit from my point
of view allowing screens to "look native" under different OSs with no
code changes.
--
James
Not so good if your native Linux look is KDE. ;) *I also hate the fact
that the GTK File Save/Open dialog box does not allow file/folder
renames. *On Windows, however, wxPython is great. *I guess it depends
on how big your application is and what is the target audience/
clientele.
My very first GUI application ever was a wxPython Windows
application. You can get it from here if you like:

http://rmcorrespond.googlepages.com/..._1_0b1_exe.zip

Source Code:

http://rmcorrespond.googlepages.com/...1.0_Source.zip

(Keep in mind that I was just learning at the time, so I am not
particularly proud of the code, and I am sure most of it is deprecated
by now.)

You can say that wxPython was my first love as far as GUI development
goes. I still think it is awesome because it is very rich and
mature. But, coding with it is not as clean as it could be. There is
a lot of boiler plate code needed. And I find it a lot less
'Pythonic' than other alternatives.

If I was just going to code a small (and I mean small) GUI app for
Windows (and possibly for Gnome) I would look into PythonCard. It
uses wxPython in the background, but it provides a much nicer API.
Unfortunately, not all the power of wxPython is available that way.
(Although you can drop down to straight wxPython if needed.)

An example of a PythonCard application I wrote (for Windows) can be
obtained here:

http://rmcorrespond.googlepages.com/...me_1_0_exe.zip

Source Code:

http://rmcorrespond.googlepages.com/...1.0_Source.zip

My needs were covered between the two options above. However, two
things were bugging me. First, I wanted a better (faster) development
environment. It had to be free since all I code is Free as well. The
ones I had tried for wxPython were not cutting it. And second, in
Linux, I prefer KDE. So, I wanted something that was native to KDE.
When Trolltech released QT as a GPL toolkit I figured I would give it
a try.

What I found was very eye opening. The API was beautiful and
intuitive. The tools and IDE (Eric, QT Designer, etc.) were more
along the lines of what I was looking for. So, I became a QT
believer. Unfortunately, my work circumstances have changed and I
haven't done any more GUI programming since then. (I am a Django
coder now. :) But, if I was going to do another GUI coding project
today, I would go with QT. So, you can see where I am coming from.
Your needs may vary.
Ok you only guess, but ...
.. you're suggesting
- that if the application is too big, wxPython is not a good choice.
What's big ?
- if the target is ... ??? ... it's not a good choice, for what audience
is wxPython not suited ?
thanks,
Stef Mientki
--
http://mail.python.org/mailman/listinfo/python-list

Nov 14 '08 #5
rm
On Nov 14, 1:59*pm, rm <rmcorresp...@g mail.comwrote:
On Nov 13, 7:08*pm, Stef Mientki <stef.mien...@g mail.comwrote:
rm wrote:
On Nov 13, 2:23 pm, James Harris <james.harri... @googlemail.com >
wrote:
>On 13 Nov, 18:59, Stef Mientki <stef.mien...@g mail.comwrote:
>>Abah Joseph wrote:
>>>*What is the best Python GUI API? I am planning to start my first GUI
>>>applicatio n and I need something easy and cross platform. Qt
>>>applicatio ns look beautiful but I hate the license. What do you advice?
>>I agree about the Qt-license,
>>and I'm now a happy wxPython user.
>I too have had good results with wxwidgets when developing a GUI. The
>cross-platform native look and feel was a major benefit from my point
>of view allowing screens to "look native" under different OSs with no
>code changes.
>--
>James
Not so good if your native Linux look is KDE. ;) *I also hate the fact
that the GTK File Save/Open dialog box does not allow file/folder
renames. *On Windows, however, wxPython is great. *I guess it depends
on how big your application is and what is the target audience/
clientele.

My very first GUI application ever was a wxPython Windows
application. *You can get it from here if you like:

http://rmcorrespond.googlepages.com/..._1_0b1_exe.zip

Source Code:

http://rmcorrespond.googlepages.com/...1.0_Source.zip

(Keep in mind that I was just learning at the time, so I am not
particularly proud of the code, and I am sure most of it is deprecated
by now.)

You can say that wxPython was my first love as far as GUI development
goes. *I still think it is awesome because it is very rich and
mature. *But, coding with it is not as clean as it could be. *There is
a lot of boiler plate code needed. *And I find it a lot less
'Pythonic' than other alternatives.

If I was just going to code a small (and I mean small) GUI app for
Windows (and possibly for Gnome) I would look into PythonCard. *It
uses wxPython in the background, but it provides a much nicer API.
Unfortunately, not all the power of wxPython is available that way.
(Although you can drop down to straight wxPython if needed.)

An example of a PythonCard application I wrote (for Windows) can be
obtained here:

http://rmcorrespond.googlepages.com/...me_1_0_exe.zip

Source Code:

http://rmcorrespond.googlepages.com/...1.0_Source.zip

My needs were covered between the two options above. *However, two
things were bugging me. *First, I wanted a better (faster) development
environment. *It had to be free since all I code is Free as well. *The
ones I had tried for wxPython were not cutting it. *And second, in
Linux, I prefer KDE. *So, I wanted something that was native to KDE.
When Trolltech released QT as a GPL toolkit I figured I would give it
a try.

What I found was very eye opening. *The API was beautiful and
intuitive. *The tools and IDE (Eric, QT Designer, etc.) were more
along the lines of what I was looking for. *So, I became a QT
believer. *Unfortunately, my work circumstances have changed and I
haven't done any more GUI programming since then. *(I am a Django
coder now. :) *But, if I was going to do another GUI coding project
today, I would go with QT. *So, you can see where I am coming from.
Your needs may vary.
Ok you only guess, but ...
.. you're suggesting
- that if the application is too big, wxPython is not a good choice.
What's big ?
- if the target is ... ??? ... it's not a good choice, for what audience
is wxPython not suited ?
thanks,
Stef Mientki
--
>http://mail.python.org/mailman/listinfo/python-list

Oops! Here is the source code for DirClean:

http://rmcorrespond.googlepages.com/...0b1_Source.zip
Nov 14 '08 #6

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

Similar topics

6
2602
by: post400 | last post by:
Hi , I was just wondering ( yeah I know it's not the first time this question pops up ) what would be the best 2 or 3 books for someone who wants to learn Python , already experienced in other non-OOP languages .It takes time to browse endlessly on the net , in a bookshop or a library for THOSE books that are really useful ! Thanks ,
11
9244
by: DrUg13 | last post by:
In java, this seems so easy. You need a new object Object test = new Object() gives me exactly what I want. could someone please help me understand the different ways to do the same thing in C++. I find my self sometimes, trying Object app = Object(); Object *app = Object(); Object app = new Object();
20
11305
by: hagai26 | last post by:
I am looking for the best and efficient way to replace the first word in a str, like this: "aa to become" -> "/aa/ to become" I know I can use spilt and than join them but I can also use regular expressions and I sure there is a lot ways, but I need realy efficient one
21
3188
by: PythonStudent | last post by:
Hi, Can one of you say to me what's the best editor for editing the python programs ( for linux or windows ), and if you can send it to me to the adresse Ahcheriet@gmail.com Thanks
7
1920
by: Frank Millman | last post by:
Hi all Assume a 2-dimensional list called 'table' - conceptually think of it as rows and columns. Assume I want to create a temporary copy of a row called 'row', allowing me to modify the contents of 'row' without modifying the contents of 'table'. I used to fall into the newbie trap of 'row = table', but I have
21
1643
by: John Salerno | last post by:
If I want to make a list of four items, e.g. L = , and then figure out if a certain element precedes another element, what would be the best way to do that? Looking at the built-in list functions, I thought I could do something like: if L.index('A') < L.index('D'): # do some stuff But I didn't know if maybe there was a preferred method for this type of
45
8551
by: Summercoolness | last post by:
it seems that range() can be really slow: the following program will run, and the last line shows how long it ran for: import time startTime = time.time() a = 1.0
14
10439
by: Franz Steinhäusler | last post by:
Hello NG, wWhat are the best programs in your opinion, written entirly in pyhton, divided into categories like: a) Games b) Utilities/System c) Office d) Web/Newsreader/Mail/Browser ....
11
12108
by: macca | last post by:
I know this is a php newsgroup so obviously most people here like using php, but I was just wondering what people's opinnions were on the most diverse/useful and friendly 'scripting' language was. I like php and have made my choice to use it as my main language, only the more I look into other languages, the more i see things that I like in them that I dont necesarrily see in PHP. For example, the more I use php I realize that php has...
10
3911
by: Brendan Miller | last post by:
What would heavy python unit testers say is the best framework? I've seen a few mentions that maybe the built in unittest framework isn't that great. I've heard a couple of good things about py.test and nose. Are there other options? Is there any kind of concensus about the best, or at least how they stack up to each other? Brendan
0
8356
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8871
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
8783
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
8552
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
8640
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5666
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
4198
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2773
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
2011
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.