Extract Information from Tables in html

Walter Cruz walter.php at gmail.com
Fri Sep 5 10:35:14 EDT 2008


On Fri, Sep 5, 2008 at 11:29 AM, Jackie Wang <jackie.python at gmail.com> wrote:
> Dear all,
>
> Here is a html code:
>
> <td valign="top" headers="col4">
>
>         Premier Community Bank of Southwest Florida
>         <br />
>         Fort Myers, FL
>
> </td>
>
> My question is how I can extract the strings and get the results:
> Premier Community Bank of Southwest Florida; Fort Myers, FL

Use BeautifulSoup.

[]'s
- Walter



More information about the Python-list mailing list