incorporate png/ico to exe and use it in application

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


hello,

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: <http://mail.python.org/pipermail/python-list/attachments/20110823/23df9212/attachment.html>


More information about the Python-list mailing list