472,330 Members | 1,391 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

Tkinter, wxPython, PyGtk, or PyQt...

I would like like to start doing some GUI-programming in Python, but don't
know which library to choose.

Tkinter seems a bit old. Correct me if I am wrong! The layout doesn't look
as nice as for the others.

wxPython seems to be the first-hand choice for people doing W32-programming
(with MFC-experience).

PyGtk seems to be a modern, very clean and nice approach, but with poor
W32-support. Is PyGtk a mature library with respect to version stability
and documentation.

PyQt is a huge library (thanks to Qt), but not free on W32, or?

Is there any possibility that any of the above-mentioned libraries will be
included as a standard library in any of the near-future Python
distributions?

I myself program on W32 at work, but use Linux at home. So, which one should
I start with in order to reduce the effort of learning something new and to
be productive in the shortest time possible?

By the way, how do I most easily include plotting capabilities to my
Python-apps?

Carl
Jul 18 '05 #1
5 4620
"ca************@chello.se" <ca************@chello.se> writes:
wxPython seems to be the first-hand choice for people doing W32-programming
(with MFC-experience).


We use wxPython for our projects and benefit from its multiplatform
support. I can write code on Linux and have it running on any *nix,
Windows and other.

It uses the GTK library in operating systems other than Windows.
I recommend going with wxPython/wxWindows.
See you,
--
Godoy. <go***@metalab.unc.edu>
Jul 18 '05 #2
ca************@chello.se wrote:
I would like like to start doing some GUI-programming in Python, but don't
know which library to choose.

Tkinter seems a bit old. Correct me if I am wrong! The layout doesn't look
as nice as for the others.
Yes, it's old (and others have expressed doubts about its looks). F. Lundh
is preparing a revamped version but I don't much about it.

wxPython seems to be the first-hand choice for people doing
W32-programming (with MFC-experience).
If win32 is your target and mfc your experience, pythonwin may be
what you want. wxPython is, however, cross-platform.
PyGtk seems to be a modern, very clean and nice approach, but with poor
W32-support. Is PyGtk a mature library with respect to version stability
and documentation.
Not sure, sorry.
PyQt is a huge library (thanks to Qt), but not free on W32, or?
Right, either not free or limited on win32. I got a license for it as a
part of Blackadder, now out of beta and costing $50 I believe. It's
indeed a marvel of power and ease of use on all scores, IMHO. But
if you must have the full power on win32 and can't spend that much,
it's not an option.
Is there any possibility that any of the above-mentioned libraries will be
included as a standard library in any of the near-future Python
distributions?
If you mean those made by the PSF, I don't see anything taking the
place of Tkinter in the near future. Tkinter is what wonderful free
PSF tools like IDLE are based on, so it will stay. Other distributions
are perfectly free to bundle all they want.

I myself program on W32 at work, but use Linux at home. So, which one
should I start with in order to reduce the effort of learning something
new and to be productive in the shortest time possible?
If you're sure you can't afford any form of PyQt, Tkinter is probably
simplest to use, but limited and maybe not as good-looking as you
might like, wxWindows is probably richer and better looking.

By the way, how do I most easily include plotting capabilities to my
Python-apps?
A couple dozen tools are linked to from:
http://www.python.org/topics/scicomp/plotting.html
and there are few others too. I do not know which one will be
easiest for you to use.
Alex


Carl


Jul 18 '05 #3
For a light-weight and cross-platform alternative to Tkinter and
all the others you might want to look at pyFLTK at http://pyfltk.sourceforge.net.
Of course I am a little bit biased as I am the maintainer of pyFLTK.

Andreas Held

Alex Martelli <al*****@yahoo.com> wrote in message news:<B8**********************@news1.tin.it>...
ca************@chello.se wrote:
I would like like to start doing some GUI-programming in Python, but don't
know which library to choose.

Tkinter seems a bit old. Correct me if I am wrong! The layout doesn't look
as nice as for the others.


Yes, it's old (and others have expressed doubts about its looks). F. Lundh
is preparing a revamped version but I don't much about it.

wxPython seems to be the first-hand choice for people doing
W32-programming (with MFC-experience).


If win32 is your target and mfc your experience, pythonwin may be
what you want. wxPython is, however, cross-platform.
PyGtk seems to be a modern, very clean and nice approach, but with poor
W32-support. Is PyGtk a mature library with respect to version stability
and documentation.


Not sure, sorry.
PyQt is a huge library (thanks to Qt), but not free on W32, or?


Right, either not free or limited on win32. I got a license for it as a
part of Blackadder, now out of beta and costing $50 I believe. It's
indeed a marvel of power and ease of use on all scores, IMHO. But
if you must have the full power on win32 and can't spend that much,
it's not an option.
Is there any possibility that any of the above-mentioned libraries will be
included as a standard library in any of the near-future Python
distributions?


If you mean those made by the PSF, I don't see anything taking the
place of Tkinter in the near future. Tkinter is what wonderful free
PSF tools like IDLE are based on, so it will stay. Other distributions
are perfectly free to bundle all they want.

I myself program on W32 at work, but use Linux at home. So, which one
should I start with in order to reduce the effort of learning something
new and to be productive in the shortest time possible?


If you're sure you can't afford any form of PyQt, Tkinter is probably
simplest to use, but limited and maybe not as good-looking as you
might like, wxWindows is probably richer and better looking.

By the way, how do I most easily include plotting capabilities to my
Python-apps?


A couple dozen tools are linked to from:
http://www.python.org/topics/scicomp/plotting.html
and there are few others too. I do not know which one will be
easiest for you to use.
Alex


Carl

Jul 18 '05 #4
ca************@chello.se wrote:
I would like like to start doing some GUI-programming in Python, but don't
know which library to choose.

Tkinter seems a bit old. Correct me if I am wrong! The layout doesn't look
as nice as for the others.

wxPython seems to be the first-hand choice for people doing
W32-programming (with MFC-experience).

PyGtk seems to be a modern, very clean and nice approach, but with poor
W32-support. Is PyGtk a mature library with respect to version stability
and documentation.

PyQt is a huge library (thanks to Qt), but not free on W32, or?

Is there any possibility that any of the above-mentioned libraries will be
included as a standard library in any of the near-future Python
distributions?

I myself program on W32 at work, but use Linux at home. So, which one
should I start with in order to reduce the effort of learning something
new and to be productive in the shortest time possible?

By the way, how do I most easily include plotting capabilities to my
Python-apps?

Carl


Thanks guys,

You have been most helpful and your advice is truly appreciated.

Carl
Jul 18 '05 #5
On Sun, 12 Oct 2003 18:31:55 +0200, "ca************@chello.se"
<ca************@chello.se> wrote:
Tkinter seems a bit old. Correct me if I am wrong! The layout doesn't look
as nice as for the others.


Still, give it a try. It's OK for a lot of apps, and it's usually
available where Python is.

-pu
Jul 18 '05 #6

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

Similar topics

2
by: Dennis Sylvester | last post by:
Interested in any opinions, studies, etc., concerning the GUI tool(s) to use for Python. Specifically, which would you recommend (and why) for...
7
by: SeeBelow | last post by:
Do many people think that wxPython should replace Tkinter? Is this likely to happen? I ask because I have just started learning Tkinter, and I...
25
by: BJörn Lindqvist | last post by:
See: http://www.wxpython.org/quotes.php. especially: "wxPython is the best and most mature cross-platform GUI toolkit, given a number of...
8
by: Erik Johnson | last post by:
I am looking for some input on GUI libraries. I want to build a Python-driven GUI, but don't really understand the playing field very well. I have...
0
by: Sebastien Aubry | last post by:
Hello, I happen to use in my programs a widget based on Tkinter Canvas. It is Zinc (http://www.tkzinc.org), which allows to draw using...
32
by: Kevin Walzer | last post by:
I'm a Tcl/Tk developer who has been working, slowly, at learning Python, in part because Python has better support for certain kinds of...
7
by: krishnakant Mane | last post by:
hello all, I seam to have noticed this a bit late but it appears to me that tkinter is being used very widely for gui development on all platform?...
44
by: bg_ie | last post by:
Hi, I'm in the process of writing some code and noticed a strange problem while doing so. I'm working with PythonWin 210 built for Python 2.5. I...
4
by: fabdeb | last post by:
Hi every one, I m a sysadmin who want to know how to use python. I dont know anything about oriented object programation, i only know bash and a...
0
by: tammygombez | last post by:
Hey fellow JavaFX developers, I'm currently working on a project that involves using a ComboBox in JavaFX, and I've run into a bit of an issue....
0
by: tammygombez | last post by:
Hey everyone! I've been researching gaming laptops lately, and I must say, they can get pretty expensive. However, I've come across some great...
0
better678
by: better678 | last post by:
Question: Discuss your understanding of the Java platform. Is the statement "Java is interpreted" correct? Answer: Java is an object-oriented...
0
by: teenabhardwaj | last post by:
How would one discover a valid source for learning news, comfort, and help for engineering designs? Covering through piles of books takes a lot of...
0
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
0
by: CD Tom | last post by:
This happens in runtime 2013 and 2016. When a report is run and then closed a toolbar shows up and the only way to get it to go away is to right...
0
jalbright99669
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
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...

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.