运行 python 带有 bash 内核的 jupyter notebook 中的代码
running python code within jupyter notebook with bash kernel
我想 运行 python 在 jupyter notebook 运行ning bash shell 中编写代码。我可以通过使用 cell magic 来绕过(bash 来自 python notebook 的代码),但是 % operant 在 bash shell 中不起作用。有办法吗?
Cell magic 是为每个内核独立实现的 (http://jupyter.cs.brynmawr.edu/hub/dblank/public/Jupyter%20Notebooks.ipynb). The Bash Kernel (assuming you're referring to this: https://github.com/takluyver/bash_kernel),其范围仍然非常有限,因此我预计它不会很快起作用。
我想 运行 python 在 jupyter notebook 运行ning bash shell 中编写代码。我可以通过使用 cell magic 来绕过(bash 来自 python notebook 的代码),但是 % operant 在 bash shell 中不起作用。有办法吗?
Cell magic 是为每个内核独立实现的 (http://jupyter.cs.brynmawr.edu/hub/dblank/public/Jupyter%20Notebooks.ipynb). The Bash Kernel (assuming you're referring to this: https://github.com/takluyver/bash_kernel),其范围仍然非常有限,因此我预计它不会很快起作用。