[Tutor] Question related to Tkinker

Corey Richardson kb1pkl at aim.com
Sun Jul 24 09:00:43 CEST 2011


Excerpts from Emeka's message of Sun Jul 24 02:56:02 -0400 2011:
> Hello All,
> 
> I am putting up a simple game .. the game is about manipulation. If the gets
> through level one ... I have to change the word with another...
> 
> Am I going to destroy level window and build level 2 or is there a way to
> just adjust the word (I used labels)
> 

When working with tkinter, http://effbot.org/tkinterbook/ will likely be your
best friend. Specifically, you're going to want 

your_label1.config(text="New word!")
your_label2.config(text="Another!")
-- 
Corey Richardson
  "Those who deny freedom to others, deserve it not for themselves"
     -- Abraham Lincoln
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/tutor/attachments/20110724/adb44085/attachment.pgp>


More information about the Tutor mailing list