Re: Why Python does *SLICING* the way it does??

2005-04-28 Thread BjÃrn LindstrÃm
nd my self I want lst[4] > > This is often a cause for errors. It sounds like you should wrap that list in an object more reminding of the source data, then. -- BjÃrn LindstrÃm <[EMAIL PROTECTED]> Student of computational linguistics, Uppsala University, Sweden -- http://mail.python.org/mailman/listinfo/python-list

ElementTree Tidy HTML Tree Builder and comments

2005-03-18 Thread BjÃrn LindstrÃm
I'm considering using the ElementTree Tidy HTML Tree Builder for a web spidering program I'm developing. However, my program must be able to extract certain information from HTML comments. I'm basically creating my trees like this: TidyHTMLTreeBuilder.parse(urllib.urlopen(url)) What I want to k