Parsing

Bruno Desthuilliers bdesth.nospam at removeme.free.fr
Fri Jul 11 01:15:34 CEST 2003


Simon Bayling wrote:
> whatsupg21 at hotmail.com (Michael) wrote in 
> news:e5fb8973.0307100938.13fcea56 at posting.google.com:
> 
>>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.
>>
> 
(snip)
> 
> If the data to find is more complicated, or you need to parse the HTML as 
> well, you should look at more string methods, maybe regular expressions 
> (import re)...

Or the HTML or SGML parsers that are part of the standard library...

Bruno





More information about the Python-list mailing list