On Mar 19, 11:52 pm, Steven Bethard <[EMAIL PROTECTED]> wrote:
> Luis M. González wrote:
> > On Mar 19, 10:49 pm, "zacherates" <[EMAIL PROTECTED]> wrote:
> >> This implies that `os.system("setuppy py2exe")` should do what you
> >> want.
>
> > It works!
> > Thank you, this is just what I wanted.
>
>
Luis M. González wrote:
> On Mar 19, 10:49 pm, "zacherates" <[EMAIL PROTECTED]> wrote:
>> This implies that `os.system("setuppy py2exe")` should do what you
>> want.
>
> It works!
> Thank you, this is just what I wanted.
You'll get better error checking if instead you do::
>>> import subpro
On Mar 19, 10:49 pm, "zacherates" <[EMAIL PROTECTED]> wrote:
> On Mar 19, 9:42 pm, "Luis M. González" <[EMAIL PROTECTED]> wrote:
>
>
>
> > On Mar 19, 9:25 pm, "Gabriel Genellina" <[EMAIL PROTECTED]>
> > wrote:
>
> > > En Mon, 19 Mar 2007 20:46:56 -0300, Luis M. González <[EMAIL PROTECTED]>
> > > es
On Mar 19, 9:42 pm, "Luis M. González" <[EMAIL PROTECTED]> wrote:
> On Mar 19, 9:25 pm, "Gabriel Genellina" <[EMAIL PROTECTED]>
> wrote:
>
>
>
> > En Mon, 19 Mar 2007 20:46:56 -0300, Luis M. González <[EMAIL PROTECTED]>
> > escribió:
>
> > > What I want now is execute the script I just created.
> >
On Mar 19, 9:25 pm, "Gabriel Genellina" <[EMAIL PROTECTED]>
wrote:
> En Mon, 19 Mar 2007 20:46:56 -0300, Luis M. González <[EMAIL PROTECTED]>
> escribió:
>
> > What I want now is execute the script I just created.
> > As far as I know, the only way to execute the script is from a command
> > line a
En Mon, 19 Mar 2007 20:46:56 -0300, Luis M. González <[EMAIL PROTECTED]>
escribió:
> What I want now is execute the script I just created.
> As far as I know, the only way to execute the script is from a command
> line and typing "setup.py py2exe".
A few ways:
- os.system("commandline"). Simple
Please forgive me if what I'm asking is non sense...
I created a little program to authomate the creation of the "setup.py"
script for py2exe.
It simply prompts for the main executable script name and then creates
setup.py, as follows:
# this is "makesetup.py"
nombre = raw_input('File name?: ')