Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Python offers lots of possibilities :

  • save your results (if you plan to re-recess these results in anotherSage program or session).

  • Open/create a file, explicitly write your results to this file, close the file (this might be useful...).

  • printyour results, and invoke your program in a command line redirecting your output (useful if you want to be able to use your program from the command line).

Googling Python file I/O may enlighten you...