[Tutor] Dictionary blues...

Alan Gauld alan.gauld at freenet.co.uk
Thu Mar 24 09:35:39 CET 2005

> >    if D.has_key(event.keysym):
> >      str=D[event.keysym]
> >    self.text.insert(END,str)
> You can remove the 'text.' thats only used if text 
> were part of a class, which in this case it isn't.

Oops, that should say remove 'self.' not text.

Alan G.

More information about the Tutor mailing list