[python-win32] EasyDialogs - how to set initial path

Radovan Grznarik radovan.grznarik at gmail.com
Thu Jun 30 09:43:35 CEST 2005


Hi,

I am using EasyDialogs (AskFileForOpen) and I am not able to set the
initial open path. I found in Python help that it should be 3rd
parameter, then I tried this

filename = EasyDialogs.AskFileForOpen("title","*.*","d:\\")

but it does not work, and opens dialog in actual directory of running script.

os.chdir("d:\\") before AskFileForOpen also does not work.

Does anybody have some idea to solve this situation?
I would be grateful.

Radovan Grznarik


More information about the Python-win32 mailing list