Extract contents of html cells

Larry Bates larry.bates at websafe.com
Sat Feb 4 12:15:56 EST 2006


Robot wrote:
> Dear all,
> I need to create a script which will extract the contents of 2 cells of
> an html that contains a specified number of cells.Then I need to put
> that contents in another cells of my own html page.How can i do that?Any
> samples, tutorials, advice?
> 

You should take a look at for the screen-scraping part:

http://www.crummy.com/software/BeautifulSoup/

To put them in your html page all you need to do is to have some
placeholders in your html and use python to replace the placeholders
with the values you get from the other screen.

-Larry Bates



More information about the Python-list mailing list