##// END OF EJS Templates
El envio de los archivos de imagen al servidor FTP se realiza mediante un thread. Por ahora esta funcion se ha aplicado a la clase SpectraPlot
El envio de los archivos de imagen al servidor FTP se realiza mediante un thread. Por ahora esta funcion se ha aplicado a la clase SpectraPlot

File last commit:

r208:f0e2ebb4337f
r435:b0b43c068e6e
Show More
xmlprint.py
13 lines | 368 B | text/x-python | PythonLexer
'''
Created on Septembre, 2012
@author: roj-idl71
'''
from xml.etree import ElementTree
from xml.dom import minidom
def prettify(elem):
"""Return a pretty-printed XML string for the Element.
"""
rough_string = ElementTree.tostring(elem, 'utf-8')
reparsed = minidom.parseString(rough_string)
return reparsed.toprettyxml(indent=" ")