This project has moved. For the latest updates, please go here.

Saving codes and result from Interactive Environement/Window into a .py file?

Sep 27, 2012 at 6:26 AM


are there anyway to actually save the codes and result of it from the Interactive Environment to a .py file like what we can do with Python IDLE? (CPython 3.2).

 I am currently having classes that involves to Python and taking notes in the Interactive Environment and i am also want to get used to Visual Studio (before i have to deal with C,and C++).

I am currently using VS 2012.

Oct 8, 2012 at 3:31 AM

(Sorry for the slow response.)

There's no feature to save the contents of the interactive windows, but you can press Ctrl+A to select all the text and then copy-paste into a .py file (or even into Word, which will keep the colors and formatting).