marytts

How to solve TypeError: cannot serialize float Python Elementtree

How to solve TypeError: cannot serialize float Python Elementtree Question: I got a debugging question. Since I am quite new here, please forgive possible janky walls-of-text. After many hours I finally got elementtree to do what I want, but I cannot output my results, because tree.write(“output3.xml”) as well as print(ET.tostring(root)) gives me TypeError: cannot serialize …

Total answers: 3