Re: [Tutor] Loop not iterating

2015-06-29 Thread Steven D'Aprano
On Tue, Jun 30, 2015 at 01:05:13AM +, Nym City wrote: > Hello all, > Thank you for your time and tips. The reason why I decided to create a > loop is because the output is cleaner and did not require any > formatting. However, based on what I have learned from all of your > responses, that i

Re: [Tutor] Loop not iterating

2015-06-29 Thread Nym City via Tutor
Hello all, Thank you for your time and tips. The reason why I decided to create a loop is because the output is cleaner and did not require any formatting. However, based on what I have learned from all of your responses, that is not going to work with what I am trying to do. Here is the updated

Re: [Tutor] removing nodes using ElementTree

2015-06-29 Thread Peter Otten
street.swee...@mailworks.org wrote: > Hello all, > > I'm trying to merge and filter some xml. This is working well, but I'm > getting one node that's not in my list to include. Python version is > 3.4.0. > > The goal is to merge multiple xml files and then write a new one based > on whether or