Saving the Interactive Window with PythonWin

vsoler vicente.soler at gmail.com
Sun Feb 21 12:28:01 EST 2010


Hi everyone,

When I run a python script, I know that I can print the results of my
calculations on the Interactive Window. Once the scripts ends, I can
copy/pate these results on an OpenOffice Writer document.

However, I would like to know if I can somehow add some lines to my
script, so that it saves the Interactive Window to a text file. How
could it be done?

And, is there a way to programatically clear out the Interactive
Window so that it only shows the last run?

Thank you for your help



More information about the Python-list mailing list