copy an object

Yuval yuvalfeld at hotmail.com
Wed Jun 25 20:44:17 EDT 2003


I have an object of a class I wrote myself, and now I want to copy it.
How do I do it? The reason I want to copy it is because if I simply
use copied_object=existing_object, when I later change
"copied_object", "existing_object" is changed as well, and I dont want
it to happen.

Thanks.




More information about the Python-list mailing list