Answers for "nice text tkinter"

0

nice text tkinter

import tkinter as tk
  
root = Tk()
root.geometry("250x170")
T = Text(root, height = 5, width = 52)
Fact = """A man can be arrested in
Italy for wearing a skirt in public."""

T.pack()
T.insert(tk.END, Fact)
tk.mainloop()
Posted by: Guest on June-12-2021

Python Answers by Framework

Browse Popular Code Answers by Language