[Sugar-devel] Beautiful Soup

Tony Anderson tony_anderson at usa.net
Sun May 15 05:03:50 EDT 2016


All you need is

from BeautifulSoup import BeautifulSoup

It is already in the Sugar image (13.2.5). In future releases, 
BeautifulSoup 4 should be used but that is not important for the 
prettyprint. It is a very
handy package and well documented.

Tony

On 05/15/2016 10:29 AM, Ütkarsh Tiwari wrote:
>
> Hi,
>      BeautifulSoup is something I wanted to discuss with you over a 
> long time. I came across it on stackoverflow while searching for a way 
> display the html code inside a webpage. Do we need to integrate it 
> into latest sugar version or will it be automatically moved over to 
> the newer versions?
>
> Thanks,
> Utkarsh Tiwari
>
> On May 15, 2016 1:26 PM, "Tony Anderson" <tony_anderson at usa.net 
> <mailto:tony_anderson at usa.net>> wrote:
>
>     In testing the jsfiddle feature from last year's GSOC, there was a
>     need to use BeautifulSoup for prettyprinting. This package is
>     included in
>     Sugar 0.106 but is version 3. This should be updated in future
>     releases to version 4.
>
>     Tony
>     _______________________________________________
>     Sugar-devel mailing list
>     Sugar-devel at lists.sugarlabs.org
>     <mailto:Sugar-devel at lists.sugarlabs.org>
>     http://lists.sugarlabs.org/listinfo/sugar-devel
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20160515/64b6ce84/attachment-0001.html>


More information about the Sugar-devel mailing list