Is this a refrence issue?

KraftDiner bobrien18 at
Wed Dec 28 23:27:55 CET 2005

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....

tmp = myList
print tmp, myList
should be different...

More information about the Python-list mailing list