[python-win32] "Browse" button in windows

Tim Roberts timr at probo.com
Thu Sep 21 22:54:34 CEST 2006


You should always reply to the whole list so that future folks with the
same question can see the answers.

zhangh1 at umbc.edu wrote:

>Actually, I am just using Tkinter library, but I don't know there is some
>widget to access the windows file system or not. Thanks
>  
>

Yes, a few minutes with Google would have led you to this answer more
quickly

    import tkFileDialog
    filename = tkFileDialog.askopenfilename()

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



More information about the Python-win32 mailing list