def get_image_path(): image_path = tkFileDialog.askdirectory() textbox_image_path.insert(INSERT, image_path)