If I am in a sage shell, and I want to send the output of my sage program(a .py file in this case) to a text file, how can I do this?
1 | initial version |
If I am in a sage shell, and I want to send the output of my sage program(a .py file in this case) to a text file, how can I do this?
2 | No.2 Revision |
If I am in a sage shell, and I want to send the output of my sage program(a .py file in this case) to a text file, how can I do this?
I would rather use a command in the shell, than write it into my python script.