using windows defaults for executing/examining files

Richie Hindle richie at entrian.com
Thu Aug 26 10:29:27 CEST 2004


[Micah]
> Using wxPython, is there any way to get the icon associated with a file?  I
> want to be able to display the icon, then when it's double clicked, it
> executes the file (using os.startfile )

Yes, wxMimeTypesManager.  In the wxPython demo:

  wxPython Overview / More Windows/Controls / MimeTypesManager.

-- 
Richie Hindle
richie at entrian.com




More information about the Python-list mailing list