Re: py2exe deal with python command line inside a program

2012-09-28 Thread Miki Tebeka
> sys.executable was printed out as ''C:\\Python25\\python.exe'', how > can I make this work in executable package through py2exe? Does http://www.py2exe.org/index.cgi/WhereAmI help? -- http://mail.python.org/mailman/listinfo/python-list

Re: py2exe deal with python command line inside a program

2012-09-27 Thread gairehari
Hi, have you been able to solve this problem ?? -- http://mail.python.org/mailman/listinfo/python-list

Re: py2exe deal with python command line inside a program

2010-01-28 Thread Aahz
In article , wrote: > >I need to create a python subprogress, like this: >myProcess = subprocess.Popen([sys.executable, 'C:\myscript.py'], > env=env, stdin=subprocess.PIPE, > stdout=subprocess.PIPE) You need to change yo

Re: py2exe deal with python command line inside a program

2010-01-24 Thread im_smiling
Thanks for taking time to help me. If I use either way, requiring python being installed, or allow source codes exposure, it seems in some degree, there's not necessarily to make the executable package any more, which is very frustrating Suppose I take the first way, python environment must be

Re: py2exe deal with python command line inside a program

2010-01-24 Thread Chris Rebert
On Sun, Jan 24, 2010 at 10:25 AM, im_smialing wrote: > On Jan 24, 6:35 am, Chris Rebert wrote: >> On Sun, Jan 24, 2010 at 3:28 AM, Jonathan Hartley >> wrote: >> > On Jan 22, 7:35 pm, susan_kij...@yahoo.ca wrote: >> >> Hi, >> >> >> I need to create a python subprogress, like this: >> >> myProces

Re: py2exe deal with python command line inside a program

2010-01-24 Thread im_smialing
On Jan 24, 6:35 am, Chris Rebert wrote: > On Sun, Jan 24, 2010 at 3:28 AM, Jonathan Hartley wrote: > > On Jan 22, 7:35 pm, susan_kij...@yahoo.ca wrote: > >> Hi, > > >> I need to create a python subprogress, like this: > >> myProcess = subprocess.Popen([sys.executable, 'C:\myscript.py'], > >>    

Re: py2exe deal with python command line inside a program

2010-01-24 Thread im_smialing
Hi Jonathan, Here is the traceback I got, 'test.py' is where "main" starts, and I replaced 'sys.executable' with string 'python': args: ['python', 'C:\\myscript.py'] Traceback (most recent call last): File "test.py", line 22, in File "subprocess.pyc", line 594, in __init__ File "subproces

Re: py2exe deal with python command line inside a program

2010-01-24 Thread Chris Rebert
On Sun, Jan 24, 2010 at 3:28 AM, Jonathan Hartley wrote: > On Jan 22, 7:35 pm, susan_kij...@yahoo.ca wrote: >> Hi, >> >> I need to create a python subprogress, like this: >> myProcess = subprocess.Popen([sys.executable, 'C:\myscript.py'], >>                                        env=env, stdin=su

Re: py2exe deal with python command line inside a program

2010-01-24 Thread Jonathan Hartley
On Jan 22, 7:35 pm, susan_kij...@yahoo.ca wrote: > Hi, > > I need to create a python subprogress, like this: > myProcess = subprocess.Popen([sys.executable, 'C:\myscript.py'], >                                        env=env, stdin=subprocess.PIPE, >                                        stdout=su

Re: py2exe deal with python command line inside a program

2010-01-23 Thread im_smialing
On Jan 22, 2:35 pm, susan_kij...@yahoo.ca wrote: > Hi, > > I need to create a python subprogress, like this: > myProcess = subprocess.Popen([sys.executable, 'C:\myscript.py'], >                                        env=env, stdin=subprocess.PIPE, >                                        stdout=su

py2exe deal with python command line inside a program

2010-01-22 Thread susan_kijiji
Hi, I need to create a python subprogress, like this: myProcess = subprocess.Popen([sys.executable, 'C:\myscript.py'], env=env, stdin=subprocess.PIPE, stdout=subprocess.PIPE) sys.executable was printed out as ''C:\\Pyth