beginner python GUI question

Chris Hare chare at labr.net
Mon Aug 2 08:49:38 EDT 2010


On Aug 2, 2010, at 7:25 AM, Peter Otten wrote:

> Chris Hare wrote:
> 
>>>> root = Tk()
>>>> root.title = "test"
> 
>> I should think it would work, but I don't understand why it doesn't.
> 
> Try
> 
> root.title("test")
> 
> title() is a method that you are hiding with your attribute leading to 
> problems later on.
> 
> By the way, what kind of documentation are you using for your efforts?
> 
> Here's a concise one:
> 
> http://infohost.nmt.edu/tcc/help/lang/python/tkinter.html
> 
> Also, effbot.org has a lot of information that you best access via Google.
> 
> Peter
> -- 
> http://mail.python.org/mailman/listinfo/python-list

I have several python books and I have been using effbot and various other sources.  Thanks for the help.  Your suggestion (and a couple others I added) got my example working exactly like I want it, so I can incorporate that into my program.  Thanks again.

Chris




More information about the Python-list mailing list