Re: [Tutor] while loop

2014-03-29 Thread Dave Angel
Scott W Dunning Wrote in message: > > On Mar 28, 2014, at 9:54 PM, Scott W Dunning wrote: > >> Hello, I’m working on some practice exercises from my homework and I’m >> having some issues figuring out what is wanted. >> >> We’re working with the while loop and this is what the questi

[Tutor] ElementTree, iterable container, depth of elements

2014-03-29 Thread street . sweeper
I'm trying to sort the order of elements in an xml file, mostly to make visual inspection/comparison easier. The example xml and code on http://effbot.org/zone/element-sort.htm get me almost what I need, but the xml I'm working with has the element I'm trying to sort on one level deeper. That pa

Re: [Tutor] ElementTree, iterable container, depth of elements

2014-03-29 Thread Dave Angel
street.swee...@mailworks.org Wrote in message: > I'm trying to sort the order of elements in an xml file, mostly > to make visual inspection/comparison easier. The example xml and > code on http://effbot.org/zone/element-sort.htm get me almost > what I need, but the xml I'm working with has the e

Re: [Tutor] ElementTree, iterable container, depth of elements

2014-03-29 Thread Peter Otten
street.swee...@mailworks.org wrote: > I'm trying to sort the order of elements in an xml file, mostly > to make visual inspection/comparison easier. The example xml and > code on http://effbot.org/zone/element-sort.htm get me almost > what I need, but the xml I'm working with has the element I'm