ElementTree and clone element toot

Aahz aahz at pythoncraft.com
Sun Feb 8 17:32:05 CET 2009


In article <4986bfd7$0$9385$ba4acef3 at news.orange.fr>,
m.banaouas <banaouas.medialog at wanadoo.fr> wrote:
>
>Working with the ElementTree module, I looked for clone element
>function but not found such tool:

Have you tried using copy.deepcopy()?
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

Weinberg's Second Law: If builders built buildings the way programmers wrote 
programs, then the first woodpecker that came along would destroy civilization.



More information about the Python-list mailing list