实现@TwoUnderscorez答案的一种更简洁的方法是仅使用以下命令启动模块-m IPython
:
"python.terminal.launchArgs": [
"-m",
"IPython"
]
对于任何遇到IndentationError: unexpected indent
错误的人,请尝试以下操作:
"python.terminal.launchArgs": [
"-m",
"IPython",
"--no-autoindent",
]
如何将ipython / jupyter设置为vscode的默认python终端?
实现@TwoUnderscorez答案的一种更简洁的方法是仅使用以下命令启动模块-m IPython
:
"python.terminal.launchArgs": [
"-m",
"IPython"
]
对于任何遇到IndentationError: unexpected indent
错误的人,请尝试以下操作:
"python.terminal.launchArgs": [
"-m",
"IPython",
"--no-autoindent",
]