您好, 欢迎来到 !    登录 | 注册 | | 设为首页 | 收藏本站

如何将ipython / jupyter设置为vscode的默认python终端?

如何将ipython / jupyter设置为vscode的默认python终端?

实现@TwoUnderscorez答案的一种更简洁的方法是仅使用以下命令启动模块-m IPython

"python.terminal.launchArgs": [
   "-m",
   "IPython"
]

对于任何遇到IndentationError: unexpected indent错误的人,请尝试以下操作:

"python.terminal.launchArgs": [
   "-m",
   "IPython",
   "--no-autoindent",
]

(不会只是在现有答案中添加评论,但代表人数不足)

python 2022/1/1 18:36:51 有385人围观

撰写回答


你尚未登录,登录后可以

和开发者交流问题的细节

关注并接收问题和回答的更新提醒

参与内容的编辑和改进,让解决方法与时俱进

请先登录

推荐问题


联系我
置顶