title: Can I edit XML loaded by xml.dom.minidom.parse?
body: <p>As I saw, when we run</p>
  
  <pre><code>from xml.dom.minidom import parse
  myXML = parse('anything.xml')
  </code></pre>
  
  <p>in a Python script, it loads the contents of "anything.xml", until you leave the script or <kbd>Ctrl+D</kbd> your Python session.</p>
  
  <p>Is it possible to add attribute values to this loaded version of the XML in Python?</p>