[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.python

py2exe: python modules and applicaation

vedrandekovic

1/23/2008 4:37:00 PM

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