Re: getting the value of an attribute from pdb

2006-05-18 Thread Miki
Hello Gary, > (Pdb) p root.title > > > (Pdb) p root.title[Tk.wm_title] Looks like "title" is a function, try "p root.title()" HTH, Miki http://pythonwise.blogspot.com/ -- http://mail.python.org/mailman/listinfo/python-list

getting the value of an attribute from pdb

2006-05-17 Thread Gary Wessle
Hi how can I "using pdb" get a value of an attribute?, read the docs and played around with pdb 'p' for no avail. thanks class main: def __init__(self, master): self.master = master self.master.title('parent') self.master.geometry('200x150+300+225') ... root = Tk() ***