Browse dialog in PythonWin

Mark Hammond mhammond at skippinet.com.au
Thu Apr 20 04:28:33 CEST 2000


"Ivan Van Laningham" <ivanlan at callware.com> wrote in message
news:38FE3998.1ED7FB24 at callware.com...
> Hi All, Roger--
>
> Roger Burnham wrote:
> >
> [snippery]
> >
> > Here's a dialog I adapted from something I found in the PythonWin
> > distribution.
> >
>
> [more ruthless snippery]
>
> That will do *very* nicely!  Thank you!

An alternative to get the real Windows browser dialog:

>>> import win32com.shell.shell
>>> win32com.shell.shell.SHBrowseForFolder(0, None, "Select it", 0, None,
0)
('\024\000\037P\340O\320 \352:i\020\242\330\010\000+00\235\024\000.w
\354!\352:i\020\242\335\010\000+00\235\000\000', 'Control Panel', 21)
>>>

I selected "Control Panel" - You will need to read the docs to see how to
use that funky string (the PIDL)...

No news on starship yet - if its not available for me to re-upload in 24
hours I will do it somewhere else...

Mark.






More information about the Python-list mailing list