how can i add data to a label that i have and keep updating it based on the folder selected
here my code so far
def listDir():
dirname = tkFileDialog.askdirectory(parent=root,initialdir="/",title='Please select the file you would like to scan')
myvar.set('Current Folder Selected is: ')
label = Label(root, width = 30, height = 10, textvariable = myvar)
want to add the the dirname variable after current folder selected is: and keep it updated based on variable changing.