First: Thank you Thomas for the good work with py2exe. The single-file
option is something I have been waiting for :-)
Will it also be possible to build independent files (such as
my_app_data.zip) into the executable?
> > I tried it using the wx singlefile example, but unfortunately the resulting
>> However, the combinations
>> Python 2.4.1 with wxPython 2.4.5.1 ansi
>> ...
>
> You probably mean 2.5.5.1 ?
It was 2.5.4.1 (an arbitrary choice of an old version, just to check if
a recent wxPython change was the cause ).
Svein
--
http://mail.python.org/mailman/listinfo/python-list
You can f.i. use wxPython (www.wxPython.org). Here is a compact and
ugly, but (almost) minimal, example of a python script that shows an
image file:
import wx
a = wx.PySimpleApp()
wximg = wx.Image('img.jpg',wx.BITMAP_TYPE_JPEG)
wxbmp=wximg.ConvertToBitmap()
f = wx.Frame(None, -1, "Show JPEG demo")
> I would love a single .exe file that would run without ANY OTHER FILES
> even if it was 50 Mb!
You should look at pyinstaller
(http://pyinstaller.hpcf.upr.edu/cgi-bin/trac.cgi), as far as I know
the only py->exe compiler that makes single file executables for
windows. You may even bundle additio