473,385 Members | 2,269 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,385 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 4723
"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 building GUI apps in Python: TKinter BOA PyQT ...
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 wonder if I should abandon it in favor of...
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 constraints. The only reason wxPython isn't the standard...
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 generally heard good things about wxPython. I...
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 transparency, gradients, translations, rotations, ... 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 applications that I want to develop than Tcl/Tk does....
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? is that right? since fredric lundh has written a...
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 noticed the problem for the last py file...
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 little perl. I have some simple questions about...
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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,...

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.