Hey all,

I'm curious to know if there's a tkFileDialog that allows a person to browse for a folder, and in the pop-up "Browse for Folder" window, also have the option to "Make a new folder".

I need to have this functionality, but when I use askdirectory() there is only the options of "OK" and "CANCEL" and no "Make a new folder".


Thanks all,

Recommended Answers

have you got any code at the moment? if so then please post it

Jump to Post

All 3 Replies

have you got any code at the moment? if so then please post it

from Tkinter import *
from tkFileDialog import askdirectory

root = Tk()
root.title("Make a new folder test GUI")

sceneBrowseBut = Button(root,text="testing",command=(lambda a = 1: askdirectory()))


I want the pop-up Browse for Folder Window to include an option to "Make a new Folder" like many many other Browse for Folder Windows i've seen before.

thanks i would have to say that i think you will need to create your own class to perform the task, it will probably need os

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.