1.

How Do I Embed Images In Python Code?

Answer»

Use img2py.PY from the TOOLS folder of your WXPYTHON installation. It converts an image file to .png FORMAT, compresses it, and stores the binary data in a .py file with routines to LOAD the image.

Use img2py.py from the tools folder of your wxPython installation. It converts an image file to .png format, compresses it, and stores the binary data in a .py file with routines to load the image.



Discussion

No Comment Found