[Tutor] help with Tkinter, please

Dick Moores rdm at rcblue.com
Thu Nov 23 11:07:17 CET 2006


I think I see how to make a simple GUI with Tkinter, but I still 
don't see how to use one with even a simple, previously non-GUI 
Python script. I'm wondering if someone could create an example for 
me, using the 2 functions fact() and printFact() at 
<http://www.rcblue.com/Python/fact.txt>. I'm thinking of something 
really plain and simple. A frame widget, an entry widget, and a text 
widget. The user enters an integer n (which can be very large), and 
the text widget shows n! in 2 formats, as the output of a modified 
printFact(). Maybe a button is also necessary?

Thanks very much,

Dick Moores



More information about the Tutor mailing list