Process finished with exit code -1073741819 (0xC0000005) in Tkinter HtmlFrame

0

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()
python
python-3.x
python-2.x
asked on Stack Overflow May 9, 2020 by cmlblbn

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0