I understand that everything in python is a refrence....

I have a small problem..

I have a list and want to make a copy of it and add an element to the
end of the new list,
but keep the original intact....

so:
tmp = myList
tmp.append(something)
print tmp, myList
 
should be different...

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

Reply via email to