Source Code for Me (s-c.me)

Allows you to paste souce code to blogs! Adapted for Twitter! Here is Search Form in case you missed your code.
Code:
Selected Language:
Show Linenumbers:
Short link for Twitter:
HTML:

HTML view:

Copy Source | Copy HTML
  1. app_xml = xmlp.parse("base.xml")
  2. id = app_xml.createElement(att)
  3. node = app_xml.createTextNode(str)
  4. id.appendChild(node)
  5. root.appendChild(id)
  6. res = open(base.xml", "w")
  7. res.writelines(app_xml.toprettyxml())
  8. res.close()




Based on Manoli.Net's CodeFormatter. Made by Topbot (c) 2008-2012