Browse dialog in PythonWin

Ivan Van Laningham ivanlan at callware.com
Wed Apr 19 23:18:11 EDT 2000


Hi All--

Mark Hammond wrote:
> 

[bobbitry]

> 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)...
> 

Oh, Mark, this makes my eyes cross and my brain hurt.  And I'm bound to
try it, too.  I guess I really am a masochist.

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

Not to put too fine a point on it, but good.

<just-don't-do-it-in-the-road>-ly y'rs,
Ivan;-)
----------------------------------------------
Ivan Van Laningham
Callware Technologies, Inc.
http://www.pauahtun.org and
http://www.foretec.com/python/workshops/1998-11/proceedings.html
Army Signal Corps:  Cu Chi, Class of '70
Author:  Teach Yourself Python in 24 Hours




More information about the Python-list mailing list