472,353 Members | 1,539 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,353 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 4145
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...
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...
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...
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...
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...
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...
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 ...
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...
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...
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...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
0
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the...
0
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand....
0
by: Rahul1995seven | last post by:
Introduction: In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python...

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.