whitespace in xml output

2009-12-08 Thread wadi wadi
Hi all, I am creating some xml output using minidom and saving it to a file using doc.writexml() The output however is as follows: bill catman Is there a way to save xml output in a file such as xml is formatted the right way? I mean with the right indentation and the elements valu

fixing xml output format

2009-11-24 Thread wadi wadi
Hi all, I am creating some xml output using minidom and saving it to a file using doc.writexml() The output however is as follows: bill catman Is there a way to save xml output in a file such as xml is formatted the right way? I mean with the right indentation and the elements val

Re: ImportError: No module named _md5 - Please help

2009-10-30 Thread wadi wadi
Thanks Robert for defending me :) On 10/29/09, Robert Kern wrote: > On 2009-10-29 11:28 AM, Sean DiZazzo wrote: >> On Oct 29, 8:49 am, wadi wadi wrote: >>> I can't alter the import statement as the error log is pointing to one >>> of the installed python files &#

Re: ImportError: No module named _md5 - Please help

2009-10-29 Thread wadi wadi
they are suggesting the use of the 'port' command. I am looking for an equivalent command or workaround to install the missing library 'py25-hashlib' using 'yum' for example. On 10/29/09, Sean DiZazzo wrote: > On Oct 29, 8:49 am, wadi wadi wrote: >> I can&#x

Re: ImportError: No module named _md5 - please help

2009-10-29 Thread wadi wadi
Hi Garrick, My python script depends on another framework that is implemented in python. The error is originating from the framework code note my script and I cannot change the framework. Also, it works on other machines. So my guess is that I have no choice I need to install the 'py25-hashlib' o

Re: ImportError: No module named _md5 - Please help

2009-10-29 Thread wadi wadi
I can't alter the import statement as the error log is pointing to one of the installed python files 'hashlib.py' /python/2.6.2/lib/python2.6/hashlib.py and I don't have the right permissions to alter the python installation. Any idea? On 10/29/09, Diez B. Roggisch wrote: > Hi, > > please don't

ImportError: No module named _md5 - Please help

2009-10-29 Thread wadi wadi
Hi, I am trying to run a python script and got this error. >>import _md5 >>ImportError: No module named _md5 Googling the problem suggested that I install the 'py25-hashlib'. the following does not work for me 'sudo port install py25-hashlib' , trying to install MacPorts raised many problems.