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

JohnJSal johnjsal at gmail.com
Thu Nov 2 22:14:36 CET 2006


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 seems that the list
> appending isn't working right. All that gets added to a list is the
> last value, not everything. Am I doing something wrong with the append
> method?

Ah, got it! I was reinitializing the table_values list in the wrong
place




More information about the Python-list mailing list