Tkinter Question

Nicholas.Vaidyanathan at aps.com Nicholas.Vaidyanathan at aps.com
Wed Jun 15 18:12:49 CEST 2005


Thanks for all the help guys... I'm a bit confused as to the inner
workings of the Tkinter system (I'm both a Python and a GUI n00b). I was
hoping that by slapping the x on button python was doing some cool
dynamic variable creation (i.e. creating 9 variables with 1 loop using
the x as a variable to modify the identifier), but I suppose you can't
do that in Python (or can you?) I'm a little confused as to why
self.button.text doesn't work but self.button["text"] does, can someone
explain this? 

Thanks!
-Nick 

"MMS <apsc.com>" made the following annotations.
------------------------------------------------------------------------------
--- NOTICE ---
This message is for the designated recipient only and may contain confidential, privileged or proprietary information.  If you have received it in error, please notify the sender immediately and delete the original and any copy or printout.  Unintended recipients are prohibited from making any other use of this e-mail.  Although we have taken reasonable precautions to ensure no viruses are present in this e-mail, we accept no liability for any loss or damage arising from the use of this e-mail or attachments, or for any delay or errors or omissions in the contents which result from e-mail transmission.

==============================================================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20050615/7713a5f2/attachment.html>


More information about the Python-list mailing list