GUI:-please answer want to learn GUI programming in python , how should i proceed.
rurpy at yahoo.com
rurpy at yahoo.com
Sat Dec 14 12:42:00 EST 2013
On 12/14/2013 05:25 AM, Chris Angelico wrote:
> On Sat, Dec 14, 2013 at 11:12 PM, Jai <jaiprakashsingh213 at gmail.com> wrote:
>> GUI:-want to learn GUI programming in python , how should i proceed.
>>
>> There are lots of book here so I am confuse which book i should refer so that i don't waste time . please answer
>
> There are many ways to build a GUI with Python. Some of the more
> popular toolkits are Tk (tkinter), wxWidgets (wxpython), and GTK.
> Explore those and see which one you like; I personally quite like GTK,
> and the others have their fans too. There are GUI builders for each of
> the above (I think; definitely wx and GTK do), or you can build
> everything directly in code (my preferred style). Play around with it
> and see what you like!
For learning, tkinter is probably the easiest because it comes
with Python and you don't need to install anything else. The
best way to get started with it is to search for tutorials and
examples on web. Searching for "python tkinter" on Amazon shows
a few books but I don't know anything about them.
wxPython currently runs only with Python2, not Python3. There
is a drag-and-drop form designer available for it but it is a
commercial product that costs money. It also comes with a
useable (once you get used to it) form builder tool that works
by graphically manipulating a text tree of widgets.
The other big, widely-used GUI toolkit is PyQt. It runs on
both Python2 and Python3. There is another version of it
called PySide which is API compatible with PyQt but has
different licensing terms. PyQt comes with a very good
drag-and-drop form designer.
I have played a little with both wxPython an PyQt and found
learning to use them from the web difficult because of their
size and complexity. But both of them have pretty good books
about them available:
Rapid GUI Programming with Python and Qt (Summerfield)
http://www.amazon.com/Programming-Python-Prentice-Software-Development/dp/0132354187
WxPython in Action (Dunn and Rapin)
http://www.amazon.com/Wxpython-Action-Noel-Rappin/dp/1932394621/
> As a side point, though: You're using Google Groups to post, which
> means your posts look messy, because GG doesn't follow internet
> standards. Short of getting into Google and fixing Groups, the best
> solution is to avoid using it; you can either use some other
> newsreader (several here swear by Mozilla Thunderbird), or subscribe
> to the email list, which carries all the same content:
>
> https://mail.python.org/mailman/listinfo/python-list
>
> Either way will spare you and us the hassles of malformed posts.
Chris and some other people here dislike Google Groups and
try to imply that everyone here feels the same way. Not true.
I and many other people here use Google Groups and have been
doing so for years so if Google Groups works for you, please
feel free to continue using it.
If you want to reduce the noise level from people like Chris
you might want to take a look at:
https://wiki.python.org/moin/GoogleGroupsPython
More information about the Python-list
mailing list