P
Philipp Kruse
I am trying to create an executable version of a python script using
py2exe 0.5 (Python 2.3.4c1). The basic script looks something like this:
setup(
[...]
windows = [ 'src/__main__.py',
{ 'script': 'src/__main__.py',
'icon_resources': [(1, "data/small.ico")]}
],
)
After running py2exe I try to execute the created .exe file and -
nothing happens.
However, I tried changing the script to this:
setup(
[...]
console = ['src/__main__.py'],
)
Suddenly everything works fine. Even so, I simply need to get rid of
that console window.
I tried reading through the wiki and searched this group but found
nothing that could solve the problem.
Does anyone have an idea?
Philipp
py2exe 0.5 (Python 2.3.4c1). The basic script looks something like this:
setup(
[...]
windows = [ 'src/__main__.py',
{ 'script': 'src/__main__.py',
'icon_resources': [(1, "data/small.ico")]}
],
)
After running py2exe I try to execute the created .exe file and -
nothing happens.
However, I tried changing the script to this:
setup(
[...]
console = ['src/__main__.py'],
)
Suddenly everything works fine. Even so, I simply need to get rid of
that console window.
I tried reading through the wiki and searched this group but found
nothing that could solve the problem.
Does anyone have an idea?
Philipp