[Tutor] Facing problem in printing a large number of points for my problem
Mats Wichmann
mats at wichmann.us
Fri Feb 28 13:52:36 EST 2020
On 2/28/20 8:52 AM, SATYABRATA DATTA wrote:
> I previously explained my problem that I want to print each output to
> specific .txt file and than repeatedly do it for several points and even if
> there some error which generally stops the program at some midway , can't
> happen in this case
>
> For this I have used the simple line which is giving each numbered output
> to specific folder
> for %i in (1,5) do python.exe test_model.py > tests/TestModel_%i.txt
>
> But I am getting only 1 and 5 as output in the above example.
what language is that? some kind of shell? you seem to be expecting that
construct to generate "all the integers from 1 to 5" and you've already
observed that you're getting just 1 and 5.
More information about the Tutor
mailing list