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

2005-04-28 Thread Bjrn Lindstrm
] 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. -- Bjrn Lindstrm [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 Bjrn Lindstrm
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