awesome geek trip down commodore64 memory lane (used in films that is )..
hey ..prefer the sinclair or onyx super computers instead? theres a computer list long as your old tax return dot matrix print out !
import xml.etree.ElementTree as ET
root = ET.Element("html")
head = ET.SubElement(root, "head")
title = ET.SubElement(head, "title")
title.text = "Page Title"
body = ET.SubElement(root, "body")
body.set("bgcolor", "#ffffff")
body.text = "Hello, World!"
# wrap it in an ElementTree instance, and save as XML
tree = ET.ElementTree(root)
from xml.dom.minidom import parseString as parseString
def prettyPrint(element):
txt = ET.tostring(element)
print parseString(txt).toprettyxml()
titleB = ET.SubElement(head, "titleB")
titleB.text = "Page Title"
prettyPrint(root)
Bad Behavior has blocked 388 access attempts in the last 7 days.
Facebook login by WP-FB-AutoConnect