2009/5/3 TerabyteST <[email protected]>:
>
> Hello. I have my wx Python program that I want to compile, and it uses
> an image as logo. It is located in .\data\logo.jpg. I want to make a
> standalone .exe file that doesn't need any data folder to work (it
> doesn't even start if the data folder is not there). How can I do that?

simply use the img2py script that comes with wxPython to convert the
image file to a python file. Then import it into your app as a
wx.Image object

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/PyInstaller?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to