"Dick Moores" <[EMAIL PROTECTED]> wrote > def compute_fact(): > value = int(entry_get())
> File "factTk1-a.py", line 22, in compute_fact > value = int(entry_get()) > NameError: global name 'entry_get' is not defined > > I'm so dumb I don't see how to define it. get is a method of the Entry widget. So the syntax is entry.get() not entry_get. HTH, Alan G. _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor