OT: need python help please

Michael Hennebry hennebry at web.cs.ndsu.nodak.edu
Sat Jul 28 00:39:26 UTC 2012


On Fri, 27 Jul 2012, Roger wrote:

> My daughter wants to teach her students tkinter interface with python.
>
> She cannot get an entry into the field   entry1=Entry(fishDisplay, 
> width=35).grid(row=0, column=1)
> to display and this is out of my expertise. Can someone point us to a 
> suitable tutorial on how to get test in a tk field into a variable and 
> how to display it.
>
> I ran Idle debug and the result from entry1 is None.

Entry(...) probably returns what is wanted.
The method grid might return None by design.
I don't see any examples where the return value is used:
http://effbot.org/tkinterbook/grid.htm

-- 
Michael   hennebry at web.cs.ndsu.NoDak.edu
"On Monday, I'm gonna have to tell my kindergarten class,
whom I teach not to run with scissors,
that my fiance ran me through with a broadsword."  --  Lily


More information about the users mailing list