Answers for "python make label display multiple lines"

1

python make label display multiple lines

from tkinter import *

root = Tk()

label_1 = Label(root, text="line 1 \nline2")
label_1.pack()

root.mainloop()
Posted by: Guest on May-27-2021

Code answers related to "python make label display multiple lines"

Python Answers by Framework

Browse Popular Code Answers by Language