你能在 Atom 编辑器中打开 Python shell 吗? [英] Can you open a Python shell in Atom editor?
问题描述
您可以在 Atom 编辑器中打开多个选项卡,也可以拥有多列布局.但是,我无法找到如何在 Atom 中打开 Python shell 以便我可以在 Python 交互式 shell 中加载 Python 脚本.
有人知道实现这一目标的步骤吗?
您可以通过使用 Ctrl-、 切换到 Install
面板并搜索脚本来打开设置视图来安装它.您也可以通过运行以下命令从命令行安装:
apm 安装脚本
从技术上讲,您所要求的更接近
You can open multiple tabs in the Atom editor, and have a multiple column layout as well. However, I am not being able to find out how to open a Python shell inside Atom so that I can load a Python script in the Python interactive shell.
Does anyone know the steps to achieve this?
The script package is likely what you want, it allows you to test your code by running part or all of it at a time:
You can install it by opening the settings view with Ctrl-, switching to the Install
panel and searching for script. You can also install from the command line by running:
apm install script
Technically what you are asking for is closer to the Terminal Plus package, as opens up a terminal pane from which you can load the python interactive environment by entering python
.
这篇关于你能在 Atom 编辑器中打开 Python shell 吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!