Answers for "tkinter filedialog get directory path"

0

tkinter filedialog get directory path

import Tkinter, tkFileDialog
root = Tkinter.Tk()
root.withdraw()
dirname = tkFileDialog.askdirectory(parent=root,initialdir="/",title='Please select a directory')
print(dirname)
Posted by: Guest on August-07-2021

Code answers related to "tkinter filedialog get directory path"

Python Answers by Framework

Browse Popular Code Answers by Language