On 18/07/07, Robert Rawlins - Think Blue
<[EMAIL PROTECTED]> wrote:

>
> What's the best way to create a copy of a list? I've seen several method and
> I'm not sure what to use. This will be in a class and one method creates a
> list which I then want to move to the self scope, like so:
>

listB = listA[:]

hth :)
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to