[python-win32] passing args to shell functions in shell.pyd

Tony Cappellini tony at tcapp.com
Wed May 5 13:36:52 EDT 2004


Mark,

> Yes - just pass them like any other function.
I would like to pass this dialog the Path to a directory, but the
pidlRoot
parameter is a PyIDL Object.

I don't see any functions in the shell that convert a normal path to a
PyIDL object format, so I just tried passing a string as in
"C:\\Python23".

This blew up python nad dropped me back in the WIn2K/Dos box command line.

I have a Visual Basic example of how to pass a starting directory to
SHBrowseForFolder, but I can't seem to duplicate it through the python
shell extensions.






More information about the Python-win32 mailing list