Ian Bicking wrote: > glomde wrote: > >>i I would like to extend python so that you could create hiercical >>tree structures (XML, HTML etc) easier and that resulting code would be >>more readable than how you write today with packages like elementtree >>and xist. >>I dont want to replace the packages but the packages could be used with >>the >>new operators and the resulting IMHO is much more readable. > > > You might want to look at PEP 359 for ideas: > http://www.python.org/dev/peps/pep-0359/ >
And more specifically here - this answers my doubts about the possibility to use the with statement: http://mail.python.org/pipermail/python-list/2006-April/336774.html -- bruno desthuilliers python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for p in '[EMAIL PROTECTED]'.split('@')])" -- http://mail.python.org/mailman/listinfo/python-list