How to open HTML javascript page in wx.Python or in another python gui window?

Is there a way to open a browser-based editor (e.g. CKEdit, tinymce, or any other HTML + JavaScript editor) in a Python window (possibly wx.Python), and not in the browser? Thank you in advance.

+4
source share
1 answer

I suggest you try using python Webkit bindings. You can download a custom Webview and place it anywhere as a GTK widget:

http://code.google.com/p/pywebkitgtk/

I am not sure about WX.

One difficulty you will find is how to get values ​​from JS in Python.

Here's an article describing the trick for invoking isolated JS from Python:

http://www.aclevername.com/articles/python-webgui/

Good luck

+2
source

All Articles