Proposal for new operators to python that add syntactic sugar for hierarcical data.
tbrkic at yahoo.com
Thu May 18 12:10:48 CEST 2006
> What about using <XXX>data</XXX> for nodes and '=' for attributes ?
> Would look like:
> <title>Page Title</title>
> <body bgcolor='#ffffff'>
> Hello World
> > I think that with the added syntax you get better view of the html
> > page.
> indeed !-)
I dont think it is very pythonic :-). You dont use endtags and then you
dont use ':' to
mark that you nest a level. :-)
And I dont see where it is allowed to put real python code.
So could you show an example with a for loop? :-)
More information about the Python-list