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:08:22 CET 2006


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?




More information about the Python-list mailing list