auto scroll text box in python for a beginner

17 Views Asked by At

I have a text box that auto populates with information that later I can export to a csv file. # Add a scroll bar for the text box

scrollbar = ttk.Scrollbar(root, command=output_text.yview)
scrollbar.grid(row=0, column=1, sticky='ns')
output_text['yscrollcommand'] = scrollbar.set

How do I set the scrollbar to auto scroll down as the data populates the text box. currently, I am manually scrolling down to see results as they come in.

I didn't try anything yet.

0

There are 0 best solutions below