[Tutor] update html pages using python

pedro pedrooconnell at gmail.com
Sun Aug 30 07:01:42 CEST 2009


On 2009-08-29 19:34:15 -0400, "Alan Gauld" <alan.gauld at btinternet.com> said:

> 
> "pedro" <pedrooconnell at gmail.com> wrote
> 
>> Hi, I was wondering if anyone could point me in the right direction as
>> far as the best way to use python to update html.
> 
> There are a number of modules in the standard library that can help
> but the best known module for this is BeautifulSoup which you have
> to download - try Google.
> 
> There are a couple of others and all of them are better than trying
> to do it using normal text manipulation or regex...
> 
>> kind of thing well. Ultimately I want to set up a page with a table of
>> thumbnail images corresponding to sequences each with their own colour
>> coding indicating status.
> 
> That should be fairly straightforward with any of the html parser modules
> available
> 
> HTH,

Hi Alan, yes it looks like BeautifulSoup should do the trick.
Thanks
Pete




More information about the Tutor mailing list