I am trying render html tags in tkinter but I always get this error:
Process finished with exit code -1073741819 (0xC0000005)
I tried everything But I failed everytime
Can someone help to me?
here is my code:
try:
import tkinter as tk
except ImportError:
import Tkinter as tk
from tkinterhtml import HtmlFrame
root = tk.Tk()
frame = HtmlFrame(root, horizontal_scrollbar="auto")
frame.grid(sticky=tk.NSEW)
frame.set_content("""
<html>
<body>
<h1>Hello world!</h1>
</body>
</html>
""")
root.columnconfigure(0, weight=1)
root.rowconfigure(0, weight=1)
root.mainloop()
User contributions licensed under CC BY-SA 3.0