Re: Help Parsing an HTML File

2008-02-16 Thread Paul McGuire
On Feb 15, 3:28 pm, [EMAIL PROTECTED] wrote: > Hello Python Community, > > It'd be great if someone could provide guidance or sample code for > accomplishing the following: > > I have a single unicode file that has  descriptions of hundreds of > objects. The file fairly resembles HTML-EXAMPLE paste

Re: Help Parsing an HTML File

2008-02-16 Thread Peter Otten
Stefan Behnel wrote: > [EMAIL PROTECTED] wrote: >> I have a single unicode file that has descriptions of hundreds of >> objects. The file fairly resembles HTML-EXAMPLE pasted below. >> >> I need to parse the file in such a way to extract data out of the html >> and to come up with a tab separate

Re: Help Parsing an HTML File

2008-02-15 Thread Stefan Behnel
[EMAIL PROTECTED] wrote: > I have a single unicode file that has descriptions of hundreds of > objects. The file fairly resembles HTML-EXAMPLE pasted below. > > I need to parse the file in such a way to extract data out of the html > and to come up with a tab separated file that would look like O

Re: Help Parsing an HTML File

2008-02-15 Thread 7stud
On Feb 15, 2:28 pm, [EMAIL PROTECTED] wrote: > Hello Python Community, > > It'd be great if someone could provide guidance or sample code for > accomplishing the following: > > I have a single unicode file that has  descriptions of hundreds of > objects. The file fairly resembles HTML-EXAMPLE paste

Re: Help Parsing an HTML File

2008-02-15 Thread Mike Driscoll
On Feb 15, 3:28 pm, [EMAIL PROTECTED] wrote: > Hello Python Community, > > It'd be great if someone could provide guidance or sample code for > accomplishing the following: > > I have a single unicode file that has descriptions of hundreds of > objects. The file fairly resembles HTML-EXAMPLE paste

Re: Help Parsing an HTML File

2008-02-15 Thread Tim Chase
> I need to parse the file in such a way to extract data out of the html > and to come up with a tab separated file that would look like OUTPUT- > FILE below. BeautifulSoup[1]. Your one-stop-shop for all your HTML parsing needs. What you do with the parsed data, is an exercise left to the reade