[Sugar-devel] Beautiful Soup

Ütkarsh Tiwari iamutkarshtiwari at gmail.com
Mon May 16 18:47:13 EDT 2016


Hi,
    I found some issues with using BeautifulSoup. If we want to
display the prettyfied html/css/js code in the webconsole, it can be
done easily.

But if we want to save(write) the user code in the .html file using
BeautifulSoup, it can also be done but the problem is when we 'reopen'
that html file in the JS Fiddler, it can't be read properly because
the methods Ms. Richa Sehgal created to fetch the respective JS, html
and CSS code from the user .html will not work with the 'prettyfied'
.html file.

The best option would be to only use the BeautifulSoup to display the
prettyfied code inside the webconsole. Prettifying the code while
writing into a .html file will create problems.

Thanks,
Utkarsh Tiwari


On 5/16/16, Tony Anderson <tony_anderson at usa.net> wrote:
> So am I. A Python import works. I don't know who decides or how it is
> decided,  what is Sugar and what is something other than Sugar.
>
> Tony
>
> On 05/15/2016 10:48 PM, Dave Crossland wrote:
>>
>> On 15 May 2016 at 05:03, Tony Anderson <tony_anderson at usa.net
>> <mailto:tony_anderson at usa.net>> wrote:
>>
>>     It is already in the Sugar image (13.2.5).
>>
>>
>> I'm confused... do you mean the OLPC OS image? :)
>>
>>
>> _______________________________________________
>> Sugar-devel mailing list
>> Sugar-devel at lists.sugarlabs.org
>> http://lists.sugarlabs.org/listinfo/sugar-devel
>
>


More information about the Sugar-devel mailing list