Package gluon :: Module html :: Class BEAUTIFY
[hide private]
[frames] | no frames]

Class BEAUTIFY

source code

object --+    
         |    
       DIV --+
             |
            BEAUTIFY

example:

>>> BEAUTIFY(['a','b',{'hello':'world'}]).xml()
'<div><table><tr><td><div>a</div></td></tr><tr><td><div>b</div></td></tr><tr><td><div><table><tr><td><B><div>hello</div></B></td><td align="top">:</td><td><div>world</div></td></tr></table></div></td></tr></table></div>'

turns any list, dictionarie, etc into decent looking html.

Instance Methods [hide private]
 
postprocessing(self) source code

Inherited from DIV: __init__, __str__, accepts, rec_accepts, rec_clear, xml

Inherited from DIV (private): _xml

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__

Class Variables [hide private]
  tag = 'div'
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

postprocessing(self)

source code 
Overrides: DIV.postprocessing