Steve Willoughby wrote:
On Tue, Jun 01, 2010 at 03:19:17PM -0500, Jim Byrnes wrote:
def viewer(imgdir, kind=Toplevel, cols=None):
win = kind()
What is the relationship between kind=Toplevel in the first line and
win=kind() further down. Isn't "kind" a variable and "kind()" a method?
kin
Alan Gauld wrote:
"Jim Byrnes" wrote
Whenever I teach myself a new language I have great difficulty
understanding the nuts and bolts of it's OO implementation.
Do you understand the OO concepts OK?
Is it only the language semantics you struggle with
or the underlying OO concepts?
I believe
Steven D'Aprano wrote:
Case in point is this code snippet from a chapter on Tkinter.
def viewer(imgdir, kind=Toplevel, cols=None):
"""
make thumb links window for an image directory:
one thumb button per image; use kind=Tk to show
in main app window, or Frame container
Please always reply-all so a copy goes to the list.
On 6/1/2010 6:49 PM, Colin Talbert wrote:
Bob thanks for your response,
The file is about 9.3 gig and no I don't want read the whole
thing at once. I want to read it in line by line. Still it will read
in to the same point (90
Hi Colin,
I'm taking the liberty of replying to your message back to the list, as
others hopefully may be able to make constructive comments. When
replying, please ensure that you reply to the tutor mailing list rather
than then individual.
On Thu, 3 Jun 2010 12:20:10 am Colin Talbert wrote: