First time here? Check out the FAQ!

Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

asked 14 years ago

schof gravatar image

How to output from sage

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?

click to hide/show revision 2
No.2 Revision

How to output from sage

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.