commit | author | age | ||
588bbb | 1 | b0VIM 7.4 Y3ÃVn\L samo natalie ~samo/programiranje/trisurf-ng/python/parse_vtu.py utf-8 3210 #"! U tp ad o » í Ê ¼ ° ¯ k N 7 » ] x D - ú Ì Ë Ê § s \ ? ) û ET.ElementTree(ET.fromstring("<root>"+str(xml)ET.ElementTree(ET.fromET.ElementTree(ET.fromstring(ET.ElementTree(ET.fromsET.ElementTree(ET.fromstring("<root>"+str(xml)[0:-1]ET.ElementTree(ET.fromstring("<rootEEET.ElementTree(ET.fromstring("<root>"+str(xml)ET.ElementTree(ET.fromET.ElementTree(ET.fromstring(ET.ElementTree(ET.fromsET.ElementTree(ET.fromstrET.ElementTree(ET.fromstring("<root>"+str(xml)[0:-1]+"</rootree2=ET.ElementTree(ET.fromstring(tree2=ET.ElementTree(ET.fromstring("<root>"+str(xml)[0:-1]+"</root>")) xml=zlib.decompress(base64.b64decode(trisurf.text)) print(trisurf.items()) trisurf=root.find('trisurf') root = tree.getroot() tree = ET.parse('../src/timestep_000000.vtu') import zlib import base64 import xml.etree.ElementTree as ET #!/usr/bin/python3 |