From eab1939547379a00fb075089a0dba97c1c21477d Mon Sep 17 00:00:00 2001 From: BrianMarquez3 Date: Mon, 15 Feb 2021 11:20:37 -0500 Subject: [PATCH] feat Python Tkinter How To Use HTML In Your Tkinter App COMPLETE 1 Python Tkinter How To Use HTML In Your Tkinter App COMPLETE 1 resolves: # see also: # --- .../HowToUseHTMLInYourTkinterApp.py | 17 ++++++++++++++++- .../readme.md | 10 ++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/Python Tkinter How To Use HTML In Your Tkinter App/HowToUseHTMLInYourTkinterApp.py b/Python Tkinter How To Use HTML In Your Tkinter App/HowToUseHTMLInYourTkinterApp.py index 7449c3b9..dd643434 100644 --- a/Python Tkinter How To Use HTML In Your Tkinter App/HowToUseHTMLInYourTkinterApp.py +++ b/Python Tkinter How To Use HTML In Your Tkinter App/HowToUseHTMLInYourTkinterApp.py @@ -1,11 +1,26 @@ from tkinter import * +from tkhtmlview import HTMLLabel root = Tk() root.title("Python Tkinter How To Use HTML In Your Tkinter App") -root.iconbitmap("Python Tkinter How To Use HTML In Your Tkinter App/images/images.jpg") root.geometry("500x600") +my_label = HTMLLabel(root, html="\ +

\ + Download Python\ +

\ + \ + ") + +my_label.pack(pady=20, + padx=20, + fill = "both", + expand=True) diff --git a/Python Tkinter How To Use HTML In Your Tkinter App/readme.md b/Python Tkinter How To Use HTML In Your Tkinter App/readme.md index ec8493ff..928c19b6 100644 --- a/Python Tkinter How To Use HTML In Your Tkinter App/readme.md +++ b/Python Tkinter How To Use HTML In Your Tkinter App/readme.md @@ -8,4 +8,14 @@ pip install requests _pip install pillow_ ``` pip install pillow +``` + +_tkhtmlview 0.1.0.post1_ + +[https://pypi.org/project/tkhtmlview/] + + +_tkhtmlview_ +``` +pip install tkhtmlview ``` \ No newline at end of file