【问题标题】:Showing output both with Jupyter notebook and in python interactive at same time?同时显示 Jupyter notebook 和 python 交互的输出?
【发布时间】:2021-07-20 05:13:30
【问题描述】:

我想这个问题是相当愚蠢的。

我在其中使用 VS 代码和 Jupyter 笔记本。是否可以将输出发送到交互式 python 解释器而不是/与 Jupyter 笔记本单元下方的输出同时发送?我尝试搜索,谷歌但失败了。

【问题讨论】:

    标签: python visual-studio-code jupyter-notebook vscode-settings


    【解决方案1】:

    不幸的是,简而言之,答案是“不”。交互式窗口可以与#%% 魔术线一起使用或使用“Jupiter.execSelectionInteractive”命令(Mac 上的⇧ + ↩)。但是,后者在笔记本中不可用,仅在 .py 文件中。

    【讨论】:

      猜你喜欢
      • 2022-08-18
      • 1970-01-01
      • 1970-01-01
      • 2021-10-19
      • 2020-03-20
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-05-11
      相关资源
      最近更新 更多