Re: what's the difference between these two methods? (aka, why doesn't one of them work?)

2006-11-04 Thread John Salerno
Steve Holden wrote: > Don't worry. It's sometimes difficult for the effbot to remember we > aren't all as fearsomely intelligent as it is. I think it does a > remarkably complete emulation of a human being: > >http://www.flickr.com/photos/[EMAIL PROTECTED]/152495923/ > > For what it's wort

Re: what's the difference between these two methods? (aka, why doesn't one of them work?)

2006-11-02 Thread Steve Holden
John Salerno wrote: > Fredrik Lundh wrote: > >>JohnJSal wrote: >> >> >>>That's a perfectly valid comment, but in this case just not applicable. >>>I spent a lot of time working through my original question before >>>posting, but I just couldn't get it. >> >>how do you fit "a lot of time" into 18 m

Re: what's the difference between these two methods? (aka, why doesn't one of them work?)

2006-11-02 Thread John Salerno
Fredrik Lundh wrote: > JohnJSal wrote: > >> That's a perfectly valid comment, but in this case just not applicable. >> I spent a lot of time working through my original question before >> posting, but I just couldn't get it. > > how do you fit "a lot of time" into 18 minutes? > > > Hmmm, I ha

Re: what's the difference between these two methods? (aka, why doesn't one of them work?)

2006-11-02 Thread Fredrik Lundh
JohnJSal wrote: > That's a perfectly valid comment, but in this case just not applicable. > I spent a lot of time working through my original question before > posting, but I just couldn't get it. how do you fit "a lot of time" into 18 minutes? -- http://mail.python.org/mailman/listinfo/pytho

Re: what's the difference between these two methods? (aka, why doesn't one of them work?)

2006-11-02 Thread JohnJSal
Carsten Haese wrote: > The fact that you were able to answer your own question only a few > minutes later indicates to me that you should set your "I give up and > ask the list" threshold a tad higher. That's a perfectly valid comment, but in this case just not applicable. I spent a lot of time w

Re: what's the difference between these two methods? (aka, why doesn't one of them work?)

2006-11-02 Thread Carsten Haese
On Thu, 2006-11-02 at 13:14 -0800, JohnJSal wrote: > JohnJSal wrote: > > JohnJSal wrote: > > > Peter Otten wrote: > > > > > > > > > > ...the above is not a 1-tuple, but an ordinary string. You forgot the > > > > trailing comma: > > > > > > > > ('notes',) > > > > > > Right you are! Now it works! :)

Re: what's the difference between these two methods? (aka, why doesn't one of them work?)

2006-11-02 Thread Rainy
JohnJSal wrote: > JohnJSal wrote: > > Peter Otten wrote: > > > > > > > ...the above is not a 1-tuple, but an ordinary string. You forgot the > > > trailing comma: > > > > > > ('notes',) > > > > Right you are! Now it works! :) > > > > Thanks! > > Oh great, now I've moved on to another issue. It see

Re: what's the difference between these two methods? (aka, why doesn't one of them work?)

2006-11-02 Thread JohnJSal
JohnJSal wrote: > JohnJSal wrote: > > Peter Otten wrote: > > > > > > > ...the above is not a 1-tuple, but an ordinary string. You forgot the > > > trailing comma: > > > > > > ('notes',) > > > > Right you are! Now it works! :) > > > > Thanks! > > Oh great, now I've moved on to another issue. It see

Re: what's the difference between these two methods? (aka, why doesn't one of them work?)

2006-11-02 Thread JohnJSal
JohnJSal wrote: > Peter Otten wrote: > > > > ...the above is not a 1-tuple, but an ordinary string. You forgot the > > trailing comma: > > > > ('notes',) > > Right you are! Now it works! :) > > Thanks! Oh great, now I've moved on to another issue. It seems that the list appending isn't working rig

Re: what's the difference between these two methods? (aka, why doesn't one of them work?)

2006-11-02 Thread JohnJSal
Peter Otten wrote: > ...the above is not a 1-tuple, but an ordinary string. You forgot the > trailing comma: > > ('notes',) Right you are! Now it works! :) Thanks! -- http://mail.python.org/mailman/listinfo/python-list

Re: what's the difference between these two methods? (aka, why doesn't one of them work?)

2006-11-02 Thread Peter Otten
JohnJSal wrote: > Can someone explain to me why the first version of this method works, > but the second one doesn't? All I've changed (I think) is how the > information is nested. The error I'm getting is that the call to > xrc.XRCCTRL is not working in the second example. Instead of getting > th

Re: what's the difference between these two methods? (aka, why doesn't one of them work?)

2006-11-02 Thread Carsten Haese
On Thu, 2006-11-02 at 12:28 -0800, JohnJSal wrote: > Can someone explain to me why the first version of this method works, > but the second one doesn't? All I've changed (I think) is how the > information is nested. The error I'm getting is that the call to > xrc.XRCCTRL is not working in the secon

Re: what's the difference between these two methods? (aka, why doesn't one of them work?)

2006-11-02 Thread JohnJSal
JohnJSal wrote: > Can someone explain to me why the first version of this method works, > but the second one doesn't? Sorry, it's the first one that doesn't work. The second one does. -- http://mail.python.org/mailman/listinfo/python-list

what's the difference between these two methods? (aka, why doesn't one of them work?)

2006-11-02 Thread JohnJSal
Can someone explain to me why the first version of this method works, but the second one doesn't? All I've changed (I think) is how the information is nested. The error I'm getting is that the call to xrc.XRCCTRL is not working in the second example. Instead of getting the appropriate widget, it's