"select directory" dialog using win32all?

Mark Hammond mhammond at skippinet.com.au
Wed Jun 4 21:25:35 EDT 2003


Adam Twardoch wrote:
> I need to get the Windows system "select directory" dialog using
> win32all/ctypes. I know this is possible with tk (askdirectory) and wx
> (wxDirSelector) but I really need to do this without these libraries.
> 
> Thank you in advance,
> Adam

 >>> from win32com.shell import shell
 >>> shell.SHBrowseForFolder()

See the help file for info on the args.

Mark.





More information about the Python-list mailing list