cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Anonymous
Not applicable

Python & HTML rendering

 Hi

 

I have read the blog https://powerbi.microsoft.com/en-us/blog/pythonblogepisode1/

 

I was wondering if there is any progress in the rendering of HTML, saving as a png is not really a solution. 

 

Thanks 

4 REPLIES 4
Highlighted
Anonymous
Not applicable

Python libraries that render html

 Hi

 

I have read the blog https://powerbi.microsoft.com/en-us/blog/pythonblogepisode1/

 

I was wondering if there is any progress in the rendering of HTML, saving as a png is not really a solution. 

 

Thanks 

Highlighted
Community Support
Community Support

Re: Python & HTML rendering

Hi @Anonymous

Would you want to convert HTML to an image in PYTHON?

Please find the answer here: https://stackoverflow.com/questions/5633828/convert-html-to-an-image-in-python

 

Best Regards

Maggie

Highlighted
Anonymous
Not applicable

Re: Python & HTML rendering

Hi Maggie

 

Thank you for the reply.

 

What I really want to know is how long untill Microsoft develop support for Python packages that render output in HTML? The blog I quoted makes out it is work in progress towards this.

 

I want to display an interactive HTML in PowerBI, and it is a big file. You can see it in the link below. Would the png solution maintain full interactivity? If so sorry I hadnt realised png has such power! If it does I cant get that solution to work, I noticed its written for OSX and there seems to be some Linux support but I am using Windows and Python 3, assuming that might be my problem but could be wrong. There has not been any commits to webkit2png since feb 2015 & so its hard to find a solution - I feel like I'm burrowing into a rabit hole trying.

 

https://www.scottcharlesworth.com/Freelance/wp-content/uploads/2018/11/trade_map_.html

Highlighted
Frequent Visitor

Re: Python & HTML rendering

Hi,

Have you managed to come with a POC so far? If so, it would be interesting to share a sample so we could have a look at it. I agree it may not be the best option, but at this stage, being able to add a sort of  a "HTML convert as an image"... step in the code may be a temporary solution. Thank you. 

Helpful resources

Announcements
Meet the 2020 Season 2 Power BI Super Users!

Meet the 2020 Season 2 Power BI Super Users!

Find out who's part of the program this season, and welcome the new Super Users.

August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

July 2020 Community Highlights

July 2020 Community Highlights

Learn about the exciting things that happened in July.

Featured Data Story of The Month

Featured Data Story of The Month

All Data Stories Gallery contributions are reviewed for each month. We select a contribution and feature the community member the following month.

Power BI Dev Camp - Developing with .NET Core

Power BI Dev Camp - Developing with .NET Core

Learn how to develop custom web applications for Power BI using .NET Core 3.1 and .NET 5.

Top Solution Authors
Top Kudoed Authors