Skip to content

Instantly share code, notes, and snippets.

@deepthawtz
Created March 6, 2010 17:36
Show Gist options
  • Select an option

  • Save deepthawtz/323816 to your computer and use it in GitHub Desktop.

Select an option

Save deepthawtz/323816 to your computer and use it in GitHub Desktop.
# I can't imagine a more horrible way to do HTML, so awesome!
from horsepyss import HorsePyss
from horsepyss.htmltools import *
class html(HorsePyss):
self.config = {
"css": "media/css",
"js": "media/js",
}
class head():
title = "Sup Dawg"
js = ["app.js", "thing.js"]
class body():
class stuff(class="junk", id="okthen"):
p = "*wooptydoo* people"
class nother_thing(class="sure"):
ul = li("stuff", "junk", "things")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment