I'm not sure if this is what youre asking but if you want to collect
all of the output into a file without overwriting, open the output
file with " a" instead of "w" and the output will. be appended. Iwould
suggest in that case that you include info about the user input so you
can distingui
On 11/4/07, Aditya Lal <[EMAIL PROTECTED]> wrote:
> On 11/4/07, Thorsten Kampe <[EMAIL PROTECTED]> wrote:
> > * linda.s (Sun, 4 Nov 2007 01:39:46 -0800)
> > > On Nov 2, 2007 1:03 AM, ALAN GAULD < [EMAIL PROTECTED]> wrote:
> > > > > > >I want to run an .exe file and get the output many times.
> > >
On 11/4/07, Thorsten Kampe <[EMAIL PROTECTED]> wrote:
>
> * linda.s (Sun, 4 Nov 2007 01:39:46 -0800)
> > On Nov 2, 2007 1:03 AM, ALAN GAULD <[EMAIL PROTECTED]> wrote:
> > > > > >I want to run an .exe file and get the output many times.
> > > >> Given that I know that you know about loops I have to
* linda.s (Sun, 4 Nov 2007 01:39:46 -0800)
> On Nov 2, 2007 1:03 AM, ALAN GAULD <[EMAIL PROTECTED]> wrote:
> > > > >I want to run an .exe file and get the output many times.
> > >> Given that I know that you know about loops I have to
> > >> ask what you see as the problem?
> > >
> > >I want to run
On Nov 2, 2007 1:03 AM, ALAN GAULD <[EMAIL PROTECTED]> wrote:
> > > >I want to run an .exe file and get the output many times.
> >> Given that I know that you know about loops I have to
> >> ask what you see as the problem?
> >
> >I want to run it many times and export all the output to a text file
> > >I want to run an .exe file and get the output many times.
>> Given that I know that you know about loops I have to
>> ask what you see as the problem?
>
>I want to run it many times and export all the output to a text file.
OK, Do you mean you want to run the program multiple times
but put
"linda.s" <[EMAIL PROTECTED]> wrote
>I want to run an .exe file and get the output many times.
> Can any one give me an example about how to use python to generate
> the
> automatic process?
Given that I know that you know about loops I have to
ask what you see as the problem? Just run the proc
linda.s wrote:
> I want to run an .exe file and get the output many times.
> Can any one give me an example about how to use python to generate the
> automatic process?
>
Yes.
-Luke
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman