python - How to edit text file through iPython Notebook connected to remote server? -


i'm exploring new workflow interacting remote server , ipython has many attractive properties session logging , scripting. 1 thing have not figured out yet how effective text file manipulation on remote machine.

i'm aware of %load , %writefile magic commands, that's quite awkward general use.

is there way %edit work when using notebook connected remote (*nix) server? best solution simple editor opens in web browser similar panes created command_name? viewer. search seems suggest doesn't exist. have found pep requesting it.

i figure it's possible have %edit trigger x-windows editor open on local machine, don't see how make happen. fine answer if there's way it.

i should clarify i'm not interested in executing python code in files, want edit file. i.e. %edit -x general use case.


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -