On 7/18/07, Robert Rawlins - Think Blue
<[EMAIL PROTECTED]> wrote:
> What's the best way to create a copy of a list?

I am pretty new to python but this works:

>>> list_one = [0,1,2,3,4,5,6,7,8,9]
>>> list_two = [i for i in list_one]
>>> print list_two
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
>>>
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to