I wrote a function for a button in tkinter which asks you for a directory path and shows you the choosen path instade of the button.
def savepathopt(): save