xml file structure for use with ElementTree?

Fredrik Lundh fredrik at pythonware.com
Sun Oct 10 03:28:15 EDT 2004


Andrew Dalke wrote:

>> That's the ticket!  Unfortunately at the moment when I run this code I
>> get the following error:'
>> ElementTree instance has no attribute 'remove'
>> but I'll try to work through that.
>
> Perhaps you need a newer version of ElementTree?  I don't
> know when 'remove' was added.

remove is available on Element instances.  it's not available on ElementTree
wrappers.

</F> 






More information about the Python-list mailing list