HOWTO Create Python GUIs using HTML

00:21

In this howto, I explain the following concepts:

  1. How to launch a GUI toolkit in a separate thread, and how to communicate with this thread.
  2. How to embed a web browser inside the GUI, and how to communicate with this embedded web browser without using sockets. By not using sockets, we don't have to worry about socket security, and we don't have to worry about allocating a socket. (Note: sockets are still available, but you don't have to use them unless you want to.) Absolutely no web server is required (unless you specifically want to use one for whatever reason). In other words, we will have AJAX-like and AJAX-Push/Comet-like functionality to communicate with Python but without actually having to use AJAX.

HOWTO Create Python GUIs using HTML