[python-win32] EasyDialogs - how to set initial path
John Machin
sjmachin at lexicon.net
Thu Jun 30 15:01:47 CEST 2005
Radovan Grznarik wrote:
>Thank you very much, I was so close, it's the 4th one:)))
>Next time before the question I will look at the code.
>
>now it works
>filename = EasyDialogs.AskFileForOpen("","","","d:\\")
>
>
Bletch. Try this:
filename = EasyDialogs.AskFileForOpen(defaultLocation="d:\\")
(Re)read this:
Keyword arguments are a thing of beauty and a joy forever, even when
they're in camelCase -- so bloody well stop counting arguments and use
them!!
More information about the Python-win32
mailing list