incorporate png/ico to exe and use it in application

Peter Irbizon peterirbizon at
Tue Aug 23 11:08:30 EDT 2011


I am zsing py2exe to compile exe files. I would like to incorporate png and
icon file into exe and then use it during program run (to show it in about
dialog and system tray). How can I do it?

For example now I
use self.staticon.set_from_file(os.path.join(module_path(), "icon.ico")) but
I would like to prevent user from changeing this icon. Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list