deleting registry keys and value

2005-11-18 Thread sdb1031
Hi, I am trying to learn how to write, change and delete registry keys and values of a remote computer via Python's _winreg module. So far, I've been able to programmatically create a value and read the value. However, I am unable to figure out how to delete the value. Using the following code,

Including standalone="no" in XML declaration

2006-04-14 Thread sdb1031
I'm trying to learn about Python and XML. I would like to be able to add standalone="no" to my xml declaration when writing an xml file, but I am unable to figure out how. So far, I have the following code: import xml.dom.minidom doc2 = xml.dom.minidom.Document() print doc2.toxml('iso-8859-1')