HTML links in a GUI tkinter

G. Willoughby never at mind.info
Sun Jun 2 17:32:43 EDT 2002


> How can I put in a frame or in any widget (?) an html link so that the
> browser opens at the url indicated when the user clicks ?

I think you can use a Tkinter Text widget, and then specify tags around the
web address:
http://www.pythonware.com/library/tkinter/introduction/x7883-concepts.htm

then:

import os
os.startfile(page.html)

to execute the html file.

--G. Willoughby







More information about the Python-list mailing list