Questions tagged [celementtree]

The cElementTree module is a C implementation of the Python ElementTree API, optimized for fast parsing and low memory use. The module is deprecated since Python 3.3.

The cElementTree module is a C implementation of the Python ElementTree API, optimized for fast parsing and low memory use.

Since Python 3.3, the module is deprecated and there is no need to explicitly import it. Just use xml.etree.ElementTree (see https://docs.python.org/3/whatsnew/3.3.html#xml-etree-elementtree).

77 questions
-1
votes
1 answer

How do I sort XML alphabetically using python?

I have some XML files that i want to sort by the element name. These xml files are considered used as Profiles in my salesforce sandbox/org. Ive built some code that takes an xml file and appends it to the bottom of each profile xml file.Allowing me…
-1
votes
2 answers

Building a generic XML parser in Python?

I am a newbie and having 1 week experience writing python scripts. I am trying to write a generic parser (Library for all my future jobs) which parses any input XML without any prior knowledge of tags. Parse input XML. Get the values from the XML…
wandermonk
  • 6,856
  • 6
  • 43
  • 93
1 2 3 4 5
6