Re: How *extract* data from XHTML Transitional web pages? got xml.dom.minidom troubles..

2007-03-02 Thread James Graham
[EMAIL PROTECTED] wrote: > I'm trying to extract some data from an XHTML Transitional web page. > > What is best way to do this? May I suggest html5lib [1]? It's based on the parsing section of the WHATWG "HTML5" spec [2] which is in turn based on the behavior of major web browsers so it should

[ANN] html5lib 0.2

2007-01-09 Thread James Graham
DESCRIPTION HTML parsing library based on the WHATWG Web Applications 1.0 "HTML5" specification[1]. The parser is designed to work with all existing flavors of HTML and implements well-defined error recovery that has been specified though analysis of the behavior of modern desktop web browsers.

Re: Python to use a non open source bug tracker?

2006-10-07 Thread James Graham
Steve Holden wrote: > Giovanni Bajo wrote: > [...] >> >> I understand your concerns, but I have to remember you that most bug >> reports >> submitted by users go totally ignored for several years, or, better, >> forever. I >> do not have a correct statistic for this, but I'm confident that at >>

Re: RSS aggregator with curses and feedparser

2006-09-24 Thread James Graham
Roberto Bechtlufft wrote: > And another thing: feedparser returns the result entries as > dictionaries. What's the best approach to create my cache file? I see > that the cache file in liferea is an xml file. Should I try to create > my own xml file based on the results from feedparser? Well you c

Re: python and xulrunner

2006-05-01 Thread James Graham
[EMAIL PROTECTED] wrote: > I've been trying to get xulrunner compiled with python (in windows) but > have been unsuccessful. I've been following this: > . I haven't tried it, but do the instructions at developer.mozilla.or

Re: Plotting package?

2006-04-26 Thread James Graham
Andrew Koenig wrote: > This may be a foolish question, but what's the most straightforward way to > plot a bunch of data in Python? > > That is, I want to write a program that does some number crunching, and then > I want to change some parameters and watch how the changes affect the > results.