Tkinter Label is give me random tabbing of text when using n

I’m trying to create a label from python’s Tkinter that will store information eventually. Right now I’m just using a place holder but it’s tabbing in the text when I enter the text down with n.

What the Label looks like with the current code: Tkinter Label without the text correctly aligned

And here’s the code which is used to make the label:

StoryFrame = LabelFrame(root, width = 1000, heigh = 300, bg="DarkGrey", highlightbackground='black', text='Current News in Technology', font="Helvetica 15 bold")

StoryFrame.place(relx=0.03, rely= 0.65)

info = Label(StoryFrame, anchor=NW, text="Dateline: Date and/or timennNews source: NamennHostname: DomainnnURL: Address", width=40, height=17)

info.place(relx=0.685, rely= 0.01)

Answer

It is because the default value of justify option is “center”. If you want to align the lines at the left, add justify="left" in Label():

info = Label(StoryFrame, anchor=NW,
             text="Dateline: Date and/or timennNews source: NamennHostname: DomainnnURL: Address",
             width=40, height=17, justify="left")