3 ms·
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".
by cohomologo 11y ago
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".