Re: How to extract a part of html file

2005-10-20 Thread Mike Meyer
Ben Finney [EMAIL PROTECTED] writes: Joe [EMAIL PROTECTED] wrote: I'm trying to extract part of html code from a tag to a tag For tag soup, use BeautifulSoup: URL:http://www.crummy.com/software/BeautifulSoup/ Except he's trying to extract an apparently random part of the file.

Re: How to extract a part of html file

2005-10-20 Thread Joe
Thanks Mike that is just what I was looking for, I have looked at beautifulsoup but it doesn't really do what I want it to do, maybe I'm just new to python and don't exactly know what it is doing just yet. However string find woks. Thanks On Thu, 20 Oct 2005 09:47:37 -0400, Mike Meyer wrote:

Re: How to extract a part of html file

2005-10-20 Thread Ben Finney
Joe [EMAIL PROTECTED] wrote: I'm trying to extract part of html code from a tag to a tag For tag soup, use BeautifulSoup: URL:http://www.crummy.com/software/BeautifulSoup/ Available as a package in Debian, probably other decent OSen also. -- \ I think it would be a good idea.

How to extract a part of html file

2005-10-19 Thread Joe
I'm trying to extract part of html code from a tag to a tag code begins with span class=boldyellowBU and ends with TDTD img src=http://whatever/some.gif; /TD/TR/TABLE I was thinking of using a regular expression however I having hard time getting the desired string. I use htmlSource =