Parsing

Peter van Kampen news at datatailors.xs4all.nl
Thu Jul 10 18:07:59 EDT 2003


In article <e5fb8973.0307100938.13fcea56 at posting.google.com>, Michael wrote:
> I have been assigned a project to parse a webpage for data using
> Python. I have finished only basic tutorials. Any suggestions as to
> where I should go from here? Thanks in advance.


Try to be a little more specific. Parse for what? Links? Images? Tags?

Anyway. A good start might be the HTMLParser that comes with the
batteries since 2.2 if I remember correctly. See

http://www.python.org/doc/current/lib/htmlparser-example.html

for a tiny example.

PterK

-- 
Peter van Kampen
pterk -- at -- datatailors.com




More information about the Python-list mailing list