Re: Create a string array of all comments in a html file...
- From: Robin Becker <robin@xxxxxxxxxxxxxxxxxxx>
- Date: Sun, 30 Sep 2007 16:54:12 +0100
sophie_newbie wrote:
Hi, I'm wondering how i'd go about extracting a string array of allYou should probably eat beautiful soup at
comments in a HTML file, HTML comments obviously taking the format
"<!-- Comment text here -->".
I'm fairly stumped on how to do this? Maybe using regular expressions?
Thanks.
http://www.crummy.com/software/BeautifulSoup/documentation.html
which helps with this sort of task.
--
Robin Becker
.
- References:
- Create a string array of all comments in a html file...
- From: sophie_newbie
- Create a string array of all comments in a html file...
- Prev by Date: Re: s.split() on multiple separators
- Next by Date: ANN: eric 4.0.2 released
- Previous by thread: Create a string array of all comments in a html file...
- Next by thread: Re: Create a string array of all comments in a html file...
- Index(es):
Relevant Pages
|