[Tutor] repeated times

linda.s samrobertsmith at gmail.com
Sun Nov 4 10:39:46 CET 2007


On Nov 2, 2007 1:03 AM, ALAN GAULD <alan.gauld at btinternet.com> 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.
>
> OK, Do you mean you want to run the program multiple times
> but put the output in the same file?

Yes. For example, I want to run the exe file one hundred times and
save all the results into one file.
Is there any example code to do that?
Thanks,
Linda


More information about the Tutor mailing list