Python app at startup!

SMALLp pofuk at email.t-com.hr
Sun Mar 2 12:59:28 CET 2008


Program:
<code prog.py>
import os
import wx

app = wx.App()
frame = wx.Frame(None, -1, "MyFrame")
frame.Show()

app.MainLoop()
</code>

python.exe setup.py py2exe
<code>
from distutils.core import setup
import py2exe

setup(windows=['prog.py'])
</code>

<dave_mikesell at fastmail.fm> wrote in message 
news:e11b4e83-8eae-4d4c-bd29-3f2bd5d8daa5 at 41g2000hsc.googlegroups.com...
> On Feb 29, 7:21 am, SMALLp <po... at mzm.hr> wrote:
>> dave_mikes... at fastmail.fm wrote:
>
>>
>> > Does it do the same thing when you run it with the Python interpreter?
>>
>> No. The programm works fine! In interupter and when i "compile" it.
>
> My guess is that you're not including something in the .exe that you
> need.  What does your py2exe command line and setup.py look like?
> 





More information about the Python-list mailing list