On 2016-01-22 22:55, Luis Finotti wrote:
sage tmp.sage >out
This should be the right way.
then it takes the supposed amount of time, but the "print i" is not redirected to file out until the loop is completely done or the script is done...
You need to flush the output if you want it to appear immediately: http://stackoverflow.com/questions/230751/how-to-flush-output-of-python-print -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
