A Xojo shell to run a loop in Python3 (MacOS) to then get a multiline string out of a loop.
When the script includes a loop (even if I don’t print the result of the loop) I just get : … (Three dots) returned.
This seems to be normal behaviour also in the MacOS terminal (as a way of warning?), by pressing Return again the data is presented.
Can I access the series of numbers (that I can get in the Terminal by again pressing return)?
shell1.Writeline “for y in range(0, 10):”
shell1.Writeline " print(y)"
Just a sidenote:
I have tried to solve it by making an array, but what works in Jypiter, Coderunner etc fails in the Terminal:
for y in range(0, 10):