0

Is it possible to render HTML in a Python window, using wxPython as the GUI builder.

For example, I give a program the URL http://google.com and then it loads up that domain name and renders it in a window below, but still in the confines of the Python program.

|---------------------------------------|
| URL: google.com                       |
|---------------------------------------|
|                                       |
|      VIEW THAT RENDERS WEBPAGE        |
|           OF GOOGLE.COM               |
|                                       |
|---------------------------------------|

I'm thinking that I need something like this: How can I render JavaScript HTML to HTML in python?

But rendering it in the wxPython window, and not loading up Firefox.

1 Answer 1

0

Maybe it is simpler to check the wxPython demo. It contains two applied examples (search for html), one simple renderer (no CSS) and an advanced one which uses the rendering engine of the underlying platform to display HTML.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.