473,395 Members | 1,641 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,395 software developers and data experts.

Welch essential for learning Tkinter well?

In a couple of places recently I've seen Brent Welch's _Practical
Programming in Tcl & Tk_ (<http://tinyurl.com/ynlk8b>) recommended
for learning Tkinter well.

So a couple of questions:

1) Is it really good for learning Tkinter, even though it doesn't
mention Tkinter at all (in the 4th edition at least)?

2) If it is good for learning Tkinter, can I get by with a cheaper,
used copy of the 3rd edition?

Thanks,

Dick Moores

Apr 5 '07 #1
7 1644
Dick Moores wrote:
In a couple of places recently I've seen Brent Welch's _Practical
Programming in Tcl & Tk_ (<http://tinyurl.com/ynlk8b>) recommended for
learning Tkinter well.

So a couple of questions:

1) Is it really good for learning Tkinter, even though it doesn't
mention Tkinter at all (in the 4th edition at least)?

2) If it is good for learning Tkinter, can I get by with a cheaper, used
copy of the 3rd edition?

Thanks,

Dick Moores
Probably better is to get Grayson (google "Grayson Tkinter"). It covers
Tkinter <--Tcl/Tk mapping to sufficient extent for Tkinter
proficiency. I have found the online Tcl/Tk documentation to fill in the
gaps.

Tkinter seems to me to have been created largely automatically and so
has much of the documentation that maps it to Tcl/Tk. This begs the
question, is anyone truly an expert in Tkinter?

James
Apr 5 '07 #2
James Stroud wrote:
>This begs the
question, is anyone truly an expert in Tkinter?
Frederick Lundh is, if anyone is.

http://www.pythonware.com/library/tk...tion/index.htm (outdated)
http://effbot.org/tkinterbook/ (new but incomplete)

Coming to Python from a Tcl/Tk background, I find Tkinter to be pretty
compatible with what I know about Tk: usually it's just a matter of
figuring out how to translate the code. Having a Tk background from Tcl
is also helpful in using some of the more advanced Tcl/Tk stuff that has
been wrapped in Python, but isn't much documented or widely used, such
as BWidgets.

From that standpoint, the Welch book is a useful resource, though
probably not essential.

--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
Apr 5 '07 #3
Dick Moores <rd*@rcblue.comwrites:
In a couple of places recently I've seen Brent Welch's _Practical
Programming in Tcl & Tk_ (<http://tinyurl.com/ynlk8b>) recommended for
learning Tkinter well.
I'm skeptical of the value of learning Tkinter really well. No matter
how thoroughly you learn it, your GUI's are going to look crude and
have a limited widget set. For lots of applications, a basic GUI
which implements the needed functions straightforwardly is fine and
Tkinter is good for that kind of thing. I've used it that way based
on the online tutorials and it's been good enough for my purposes.
But if I needed something fancier I'd probably go to a more advanced
toolkit rather than trying to push the limits of tkinter.

I mainly use

http://infohost.nmt.edu/tcc/help/pubs/tkinter/

as tkinter docs and it's pretty good.
Apr 6 '07 #4
In article <46**************@codebykevin.com>,
Kevin Walzer <kw@codebykevin.comwrote:
James Stroud wrote:
This begs the
question, is anyone truly an expert in Tkinter?

Frederick Lundh is, if anyone is.

http://www.pythonware.com/library/tk...tion/index.htm (outdated)
http://effbot.org/tkinterbook/ (new but incomplete)
I agree that this is an excellent resource.

I find Welch's book and the on-line tcl/tk help very helpful for Tkinter
programming--especially some of the more obscure details. But to use
either of these resources comfortably you must learn the basics of
Tkinter first (including understanding the simple mapping between
Tkinter and Tcl/Tk).

For learning the basics of Tkinter I suggest the links that Kevin listed
above and/or Alex Martelli's "Python in a Nutshell" (an excellent
reference in any case). Grayson's book is another reasonable alternative
(and includes enough reference material to keep you from having to refer
to the tcl/tk documentation very often).

-- Russell
Apr 6 '07 #5
At 10:36 AM 4/6/2007, Russell E. Owen wrote:
>In article <46**************@codebykevin.com>,
Kevin Walzer <kw@codebykevin.comwrote:
James Stroud wrote:
>This begs the
question, is anyone truly an expert in Tkinter?
Frederick Lundh is, if anyone is.

http://www.pythonware.com/library/tk...tion/index.htm (outdated)
http://effbot.org/tkinterbook/ (new but incomplete)

I agree that this is an excellent resource.

I find Welch's book and the on-line tcl/tk help very helpful for Tkinter
programming--especially some of the more obscure details. But to use
either of these resources comfortably you must learn the basics of
Tkinter first (including understanding the simple mapping between
Tkinter and Tcl/Tk).
Where can I get this mapping spelled out?
>For learning the basics of Tkinter I suggest the links that Kevin listed
above and/or Alex Martelli's "Python in a Nutshell" (an excellent
reference in any case).
Although owning the 2nd ed. of "Python is a Nutshell", I hadn't
thought of looking into it for Tkinker. There's a whole chapter,
"Tkinter GUIs" (46 pages!).
Grayson's book is another reasonable alternative
(and includes enough reference material to keep you from having to refer
to the tcl/tk documentation very often).
One web tutorial that looks good to me is "Thinking in Tkinter", by
Stephen Ferg (<http://www.ferg.org/thinking_in_tkinter/index.html>).

My thanks to all who responded.

Dick Moores
Apr 7 '07 #6
Dick Moores wrote:
At 10:36 AM 4/6/2007, Russell E. Owen wrote:
>I find Welch's book and the on-line tcl/tk help very helpful for Tkinter
programming--especially some of the more obscure details. But to use
either of these resources comfortably you must learn the basics of
Tkinter first (including understanding the simple mapping between
Tkinter and Tcl/Tk).

Where can I get this mapping spelled out?
Grayson Appendix A. $25 pdf--well worth it in your time.

James
Apr 7 '07 #7
At 03:43 AM 4/7/2007, James Stroud wrote:
>Dick Moores wrote:
At 10:36 AM 4/6/2007, Russell E. Owen wrote:
I find Welch's book and the on-line tcl/tk help very helpful for Tkinter
programming--especially some of the more obscure details. But to use
either of these resources comfortably you must learn the basics of
Tkinter first (including understanding the simple mapping between
Tkinter and Tcl/Tk).
Where can I get this mapping spelled out?

Grayson Appendix A. $25 pdf--well worth it in your time.
Terrific! Thank you.

Dick

Apr 7 '07 #8

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

Similar topics

1
by: Josh | last post by:
Caution, newbie approaching... I'm trying to come up with a very simple Tkinter test application that consists of a window with a drop-down menu bar at the top and a grid of colored rectangles...
3
by: srijit | last post by:
Hello, Any idea - why the following code crashes on my Win 98 machine with Python 2.3? Everytime I run this code, I have to reboot my machine. I also have Win32all-157 installed. from Tkinter...
5
by: Ron Stephens | last post by:
The newly rechristened Python Learning Foundation is a web site dedicated to the assistance of people learning the Python programming language. Features include: 1. Daily lists of new and recent...
7
by: John Slimick | last post by:
I want to do a little Tkinter in my 1 credit python practicum, but I am having problems getting everything installed correctly. A sample of the problem is below: ------------------- The...
2
by: Michael Zhang | last post by:
My project uses Python-2.3.4 + Tkinter + PIL-1.1.4 to retrieve images from server and display those images. I created a thread (also a separate toplevel window) for displaying images and another...
2
by: Stewart Midwinter | last post by:
this has me puzzled; I've created a small test app to show the problem I'm having. I want to use subprocess to execute system commands from inside a Tkinter app running under Cygwin. When I...
2
by: Kevin Walzer | last post by:
I'm trying to decide whether I need threads in my Tkinter application or not. My app is a front end to a command-line tool; it feeds commands to the command-line program, then reads its output and...
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...
2
by: Doran, Harold | last post by:
I am currently reading An Intro to Tkinter (1999) by F. Lundh. This doc was published in 1999 and I wonder if there is a more recent version. I've googled a bit and this version is the one I keep...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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
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...
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,...
0
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...
0
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...

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.