473,382 Members | 1,622 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

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 4269
On 13 Nov, 18:59, Stef Mientki <stef.mien...@gmail.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...@gmail.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...@gmail.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.
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...@gmail.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...@gmail.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.
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...@gmail.comwrote:
On Nov 13, 7:08*pm, Stef Mientki <stef.mien...@gmail.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...@gmail.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.

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
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...
11
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...
20
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...
21
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
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...
21
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...
45
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
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
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....
10
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.