[python-win32] py2exe, wxPython, resources

Massa, Harald harald.massa at suedvers.de
Fri Jan 9 08:32:42 EST 2004


Hello,
 
i learned from reading py2exe-source that I can include icon and
bitmap-resources into my py2exe generated exe.file
 
wxprog = dict(
    script = "dbeitrag.py",
    other_resources = [
                (RT_MANIFEST, 1, manifest_template %
dict(prog="zeiterfassung")),
    ],
    dest_base = r"prog\dbeitrag",
    icon_resources = [(01,"zerf.ico"),],
    )

 
 
Thats the Target-Defintiion ... just added icon_ressources
 
the number before the resource is the icon-id  - but: how can I access this
resources from wxPython????
 
Harald
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-win32/attachments/20040109/d0c8cffc/attachment.html


More information about the Python-win32 mailing list