Re: Decrease for loop by one

2013-01-23 Thread Milter Skyler
On Wednesday, January 23, 2013 9:59:13 PM UTC-7, Chris Angelico wrote: > On Thu, Jan 24, 2013 at 3:39 PM, Milter Skyler <> wrote: > > > I made an array to check if the random integer already exists and then I > > send it to the else statement at which point I want to decrease x by 1 so > > that

Re: XML/XHTML/HTML differences, bugs... and howto

2013-01-23 Thread Stefan Behnel
Andrew Robinson, 23.01.2013 16:22: > Good day :), > > I've been exploring XML parsers in python; particularly: > xml.etree.cElementTree; and I'm trying to figure out how to do it > incrementally, for very large XML files -- although I don't think the > problems are restricted to incremental parsin

Re: XML/XHTML/HTML differences, bugs... and howto

2013-01-23 Thread Andrew Robinson
On 01/24/2013 06:42 AM, Stefan Behnel wrote: Andrew Robinson, 23.01.2013 16:22: Good day :), Nope, you should read the manual on this. Here's a tutorial: http://lxml.de/tutorial.html#elements-contain-text I see, so it should be under the "tail" attribute, not the "text" attribute. That's why

<    1   2