]> git.sesse.net Git - xml-template/blobdiff - python/simple.py
Add Python 3 support.
[xml-template] / python / simple.py
index 7c78ed03696f5b4c72d58673ea8a269df369aa5f..8df3e08a161f4858a067ff8c2fbdb1c26cf8f3dc 100644 (file)
@@ -5,4 +5,4 @@ doc = xmltemplate.process_file("../xml/simple.xml", {
        'title': 'A very basic example',
        '#hello': 'Hello world!'
 })
-print doc.toxml()
+print(doc.toxml())