[python-win32] GetOpenFileNameW & InitialDir

Michel Claveau mc at mclaveau.com
Wed May 9 20:33:41 CEST 2007


Hi!

I'have a problem with this code :

    import win32gui
    fname=win32gui.GetOpenFileNameW(InitialDir="C:\\dev")[0]
    print fname


The InitialDir is not set. It's already the last dir opened, and not my 
request.

Any idea ?   Thanks by advance.


Michel Claveau





More information about the Python-win32 mailing list