Issue
Possible Duplicate:
How to save a Python interactive session?
Is it possible, and if so, how do I save the code that I have written in an IPython session?
Optimally I would only output the code that runs without errors, but exporting all the code would go a long way as well, I suppose.
Solution
%save my_useful_session 10-20 23
to save input lines 10 to 20 and 23 to my_useful_session.py
Answered By - Samuel Lampa
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.