Tkinter Html Display

Robert Amesz reqhye72zux at mailexpire.com
Sat Oct 6 23:15:38 CEST 2001


Jeffrey wrote:

> Hi All,
>   I want to display an HTML file on a Tkinter Canvas widget.  Do any
> of you know how to do this?  The principle problem I have is that the
> HTML file can display subscript and symbols and stuff, while
> translated the HTML lines into text, you lose that.  I came up with
> one solution that one could just capture the HTML off the browser and
> turn it into a gif file and then display on the widget.  But I just
> wanted to know if there is anything out there or any solution for
> this....

How desperate are you to be able to display HTML? If it's important 
enough, you might consider switching to wxPython: it has an HTML-
component which can display all common HTML 3.2 elements, like fonts, 
pictures and tables.


Robert Amesz



More information about the Python-list mailing list