py2exe: python modules and applicaation

V

vedrandekovic

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 ( pgssetup2.py 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:

try:

process2=subprocess.Popen(["python","pgssetup2.py","py2exe","-
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
application?

Regards,
Vedran
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top