<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.23543">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2 face=Arial><FONT size=1>
<P><FONT size=2>I apologise if I have come to the wrong place here, but 12hrs
searching, plus experimenting, on the WWW for advice on it has not yielded
any successful advice to resolve the issue.</FONT></P>
<P><FONT size=2>I am am having trouble binding an Entry widget to
<Return></FONT></P>
<P><FONT size=2>Here is the snippet (butCol is a Frame widget to put
buttons,labels and text entry down LHS)</FONT></P>
<P><FONT size=2>KS1=StringVar()<BR>KS1.set("Key is
??")<BR>butCol.ks1
=Label(butCol,textvariable=KS1).grid(column=0,row=18,sticky=(N,W))</FONT></P>
<P><FONT size=2>myKey = [0,2,4,5,7,9,11] #Begin in the key of
C<BR>KS2
=StringVar()<BR>KS2.set("C")<BR>butCol.ks2
=Entry(butCol,width=20,textvariable=KS2).grid(column=0,row=19,sticky=(N,W))<BR></FONT></P>
<P><FONT size=2>The above lines all render correctly, but will not trigger off
"entry" of data at all on <Return></FONT></P>
<P><FONT size=2>Adding the following line just crashes. </FONT></P>
<P><FONT size=2>butCol.ks2.bind("<Return>",chooseKey) <BR></FONT></P>
<P><FONT size=2>I downloaded the Python 3 package from the recommended site last
week to begin this project (it was previously working OK in Skulptor, but I was
not prepared to develop it any further in that environment, though it was an
excellent starting environment). So I believe the Python language
installed is up todate. I have not previously installed Python so it
should be "clean".</FONT></P>
<P><FONT size=2>If you could give any direct advice I would be very grateful or
if you can direct me to your best "forum" site maybe I could use
that.</FONT></P>
<P><FONT size=2>One overall observation that has frustrated me is how toi search
for information that relates to <STRONG>Python3</STRONG> and the latest
<STRONG>tkinte</STRONG>r modules. I kept finding old python or old Tkinter
or combinations of both. Wrorking my way through this was very time
consuming and rarely productive. Is there any advice on how to get the
"latest" information off the WWW?</FONT></P>
<P><FONT size=2></FONT> </P>
<P><FONT size=2>Cheers, Rob Ward</FONT></P>
<P><FONT size=2>PS In my state of eternal optimism I have attached the whole
file :-)</FONT></P>
<P><FONT size=2>PPS I have done some OOP in the past but not keen to jump in at
the moment.</FONT></P></FONT></FONT></DIV></BODY></HTML>