473,614 Members | 2,342 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 4753
"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
3361
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 Thanks, Dennis
7
11895
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 wxPython. Mitchell Timin -- "Many are stubborn in pursuit of the path they have chosen, few in
25
3340
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 Python GUI toolkit is that Tkinter was there first." - Guido van Rossum Guess, that answers my question, but isn't "Tkinter was there first" a very bad answer? :) It is kinda ugly too, so I wonder why it can't be replaced? Or maybe another GUI...
8
4481
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 happen to already own John Grayson's book about Tkinter programming, so that is rather handy if I decide to use Tkinter. I have done some things slightly more involved than "Hello World" in Tkinter - I have never used wxPython. So, basically the...
0
1479
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 OpenGL. However, this widget depends on Tkinter, whose look I find oldy, though I would like to try PyGtk or wxPython. I would like to know if there is a method for using a Tkinter widget
32
7463
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. Naturally, I thought that I would use Tkinter as the GUI for these programs. However, in doing research into GUI development techniques, sample code, and showcase applications, what has struck me is how little sophisticated GUI development seems to be...
7
1941
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 very good introduction to tkinter (was that just an intro?), I have got keen interest to know the following. may be fredric himself might put some light on these points. 1. I seriously don't intend to start a flame war but does tkinter stand...
44
4975
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 processed by this script, where the concerned tmp file is only actually written to when PythonWin is closed. In other words, after I run this script, one of the generated tmp files has a size of 0kB. I then close PythonWin and it is then written to.
4
1989
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 python. the first: what is the differences between a function and a classe? In which case i should use a function ? In which case i should use a class ?
0
8197
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8142
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
8640
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
8589
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
8287
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
8443
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
7114
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6093
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
2573
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

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.