[python-win32] "Browse" button in windows

Tim Roberts timr at probo.com
Thu Sep 21 20:45:41 CEST 2006


zhangh1 at umbc.edu wrote:

>Hi:
>I am totally an freshman to Python, and I want to build in my python
>program a button just like the "Browse" button in windows which will pop
>out a dialog window to select files from the local machine. Can somebody
>tell me the library and method that might be useful?
>

What toolkit are you using to build your UI?  If you are drawing your
windows with wx, there is a canned dialog already.  If you're using
win32ui, you can use win32ui.CreateFileDialog.

-- 
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.



More information about the Python-win32 mailing list