I would like to use the great IPython Web Interface to open, evaluate, edit and save the following "myfile.py" (see below) avoiding the annoying process: Create an .ipynb > import myfile.py to it > make some evaluation or edition > export to .py > remove unnecessary code lines and finaly get again the following content (myfile.py):
import os # <codecell> # Number division print(4/5) # Number Plus print(1+40)
Is there a command line to do so?
- I want work ONLY with .py files, any solution with store/work with .ipynb (JSON files) not be welcome.
- Suggestions for other programs will be very welcome.