py2exe: python modules and applicaation

vedrandekovic at vedrandekovic at
Wed Jan 23 17:37:15 CET 2008

Hello again,

I'am working a simple application with wxpython, py2exe and
directpython.After I write python code in my wxpython  textctrl, then
my application must save that code and create ( script ),
and then with py2exe create (.exe) of the code. ( my application is
builded with py2exe too ). Here is example of code the converts
from .py to .exe:

d","exe"],shell=True, stdout=subprocess.PIPE)
            stdout_value = process2.communicate()[0]
        except NameError,e:
            print e

When I run this code before converting to exe it works fine but
in .exe there is no error but It wont work. I think it's problem with
modules py2exe and directpython how can I "append" that modules to my


More information about the Python-list mailing list