I know the command filedialog.askopenfilename()
, but is there a way to let the user search for a directory instead of a single file?
Asked
Active
Viewed 75 times
0

jonrsharpe
- 115,751
- 26
- 228
- 437

ProgrammingDonkey
- 49
- 1
- 2
- 6
-
do you know the name of the directory that you are trying to search ? What about the path of directory that you are trying to search ? – d-coder Oct 10 '14 at 09:11
1 Answers
1
I whink this is what you want
filedialog.askdirectory()

Darth Kotik
- 2,261
- 1
- 20
- 29
-
here is some docs on this module. enjoy http://tkinter.unpythonic.net/wiki/tkFileDialog – Darth Kotik Oct 10 '14 at 10:04