From: Jeff G. <jgr...@hb...> - 2001-08-30 19:45:05
|
I've decided to begin work on 'icon packs' for the pythoncard project. If you look through the source code for the wxPython demo, you'll notice some of the images are embedded in the code. They use a combination of zlib and pickle to accomplish this. I've already started work on a script that will store images in .py files. This would allow icons to be imported into your projects instead of loaded off the filesystem. ... here is a pretend python session >>> from icons.gtk import * >>> saveas_icon <object wx_image> >>> open_icon <object wx_image> This would also ease the distribution of pythoncards if most all the deliverables are .py files that py2exe could easily pack. I'll keep you guys uptodate on its progress. Thanks -Jeff Griffith |