1
Возможно ли открыть IDLE вместо vi по умолчанию в linux при выполнении% edit в iPython? Как?magic command% edit должен вызывать IDLE в iPython
Возможно ли открыть IDLE вместо vi по умолчанию в linux при выполнении% edit в iPython? Как?magic command% edit должен вызывать IDLE в iPython
Выдержки из %edit?
%edit runs IPython's editor hook. The default version of this hook is
set to call the editor specified by your $EDITOR environment variable.
If this isn't found, it will default to vi under Linux/Unix and to
notepad under Windows. See the end of this docstring for how to change
the editor hook.
You can also set the value of this editor via the
``TerminalInteractiveShell.editor`` option in your configuration file.
This is useful if you wish to use a different editor from your typical
default with IPython (and for Windows users who typically don't set
environment variables).
....
Так что я думаю, вы можете установить IDLE в $ EDITOR или в .ipython/profile_xxx/[вправо] CONFIGFILE .py