[Tutor] folder dialog

Magnus Lycka magnus@thinkware.se
Fri Jan 10 05:56:02 2003


At 05:09 2003-01-10 +0000, antone heyward wrote:
>Is there a folder dialog for tkinter? wxpython has one but i want to stick 
>with tkinter. Plus i am pretty new to programming and wxpython is a bit 
>complex for me right now.

import tkFileDialog
x = tkFileDialog.askdirectory() # etc
print "Selected folder", x
help(tkFileDialog)


-- 
Magnus Lycka, Thinkware AB
Alvans vag 99, SE-907 50 UMEA, SWEDEN
phone: int+46 70 582 80 65, fax: int+46 70 612 80 65
http://www.thinkware.se/  mailto:magnus@thinkware.se