beginner python GUI question

Peter Otten __peter__ at web.de
Mon Aug 2 08:25:49 EDT 2010


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



More information about the Python-list mailing list