[Tutor] append vs list addition
Dave Angel
davea at davea.name
Sun May 4 13:36:38 CEST 2014
C Smith <illusiontechniques at gmail.com> Wrote in message:
>
>
I had always assumed that append() was more efficient, but some recent discussions seem to point at that it is the same as append(). Which is preferable and why?
Please be more explicit, preferably with example code.
list.append and list.__add__ don't even do the same thing.
Perhaps you mean list.extend
I would also encourage you to properly use text mail to post, as
there are a number of problems triggered by html mails as you're
doing now. Most of them don't matter with your current message,
however.
--
DaveA
More information about the Tutor
mailing list