Nov-12-2019, 10:42 PM
I'm using Python 3.8 and using Tkinter. I'm trying to set tabs inside of a listbox. I have the following code:
But it doesn't do tabs. Both records are up against each other when displayed in the listbox. Any help would be appreciated.
1 2 3 |
for record in records: txt = str (record[ 0 ]) + '\t' + '\t' + '\t' + str (record[ 1 ]) lb.insert( "end" , txt ) |