Popping up the "Open With" dialog window

Cliff Wells clifford.wells at comcast.net
Wed Sep 15 01:52:48 EDT 2004


On Tue, 2004-09-14 at 10:41 -0400, Micah wrote:
> I know it's possible to use os.startfile() to open/execute a file based on
> its extension, but when a file is not recognized, I get a WindowsError with
> Errno 1155.
> 
> Is there any way (using wxPython) to popup the "Open With" dialog that
> appears when trying to open an unrecognized file in Windows Explorer?

No.  You'll probably have to look to the native win32all package for
that.

Regards,
Cliff

-- 
Cliff Wells <clifford.wells at comcast.net>




More information about the Python-list mailing list