pythonã§importæã§æå®ããã¯ã©ã¹ãåççæããã posted by jun-g at Tue, 03 Apr 2007 02:16 JST ãããã¨ããã¼ã£ã¨æ©ãã§ã¦è§£æ±ºæ¹æ³ãããããã®ã§ããã°ã§æãã¦ã¿ãã pythonã§MochiKit.DOMã®createDOMã¿ããã®ããã£ãã便å©ããªã¨æã£ã¦ä¸è¨ã®ãããªã¯ã©ã¹ãæ¸ããã class Tag: """A base class of HTML tag.""" name = None inline = True container = False def __init__(self, *nodes, **attributes): self.nodes = nodes self.attributes = attributes def __str__(self): return self.serialize() def ser
{{#tags}}- {{label}}
{{/tags}}