How about the %save magic for ipython?
For example "%save mycode.py 1-10" saves the code input on lines 1 through 10 of the session to the file "mycode.py".
For example "%save mycode.py 1-10" saves the code input on lines 1 through 10 of the session to the file "mycode.py".
No comments yet.