There's tools for that, check out of they do it and then you can do it with python
the user chooses an exe to launch and I want a png/any file with its logo to appear when file is selected, does it help with this?