Tk Getting a directory name

Ken Payne kmp at NO2SPAMatrium.fsnet.co.uk
Sun Sep 22 08:13:48 EDT 2002


HI everyone -

I'm writing a Tk interface to an app and in it I want the user to choose a 
directory. There's an easy way to ask the user to pick a file - 

fileWanted=askopenfilename()

but is there a similar way to ask for a directory?

- Ken





More information about the Python-list mailing list