[Zope] Is there an easier (more stylish, ...) way

Cameron Laird Cameron@Lairds.com
Fri, 05 Jul 2002 21:01:39 -0500


to (deep-)copy an object in a Python script than a
  manage_clone
  manage_cutObjects
  manage_pasteObjects
sequence?  What I really want is
  def this_copy(from_folder, to_folder, object_id)
  '''We start with an object with id object_id in folder
  from_folder.  After invocation of this function, a copy,
  with identical properties and children, exists in to_folder.'''