| 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...
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.