Currently, the text is being printed on a label in one line, but I want it to display on multiple lines instead of one.
def display():
plain_text="" # this is the text file
display=Label(top1,text=(plain_text),bg="black", foreground="white")
display.pack()
So it's currently displayed on one line e.g. somewhereinlamancha
.
plain_text
is a long string of text and so i can't manually add newlines. It is loaded by the user and the text isn't known before that.
This is in a tkinter GUI.