Proposal for new operators to python that add syntactic sugar for hierarcical data.

glomde tbrkic at yahoo.com
Thu May 18 02:44:23 EDT 2006


There are some difference which are quite essential.

First of all I dont se how you set attributes with that and
then I dont see how you can mix python code with the creation.

So how do you do this:

root = ET.Element("html")
  *!*root:
     *!*head("head"):
         *!*title("title):
         for i in sections:
              !*! section():
                   *=*Text = section[i]




More information about the Python-list mailing list