您可以在Atom编辑器中打开Python Shell吗? [英] Can you open a Python shell in Atom editor?

查看:133
本文介绍了您可以在Atom编辑器中打开Python Shell吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您可以在Atom编辑器中打开多个选项卡,并且也具有多列布局.但是,我无法找到如何在Atom中打开Python Shell的方法,以便可以在Python交互式Shell中加载Python脚本.

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:

您可以通过以下方式安装它:使用 Ctrl - 打开设置视图,切换到Install面板并搜索脚本.您还可以通过运行以下命令从命令行进行安装:

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

从技术上讲,您想要的是更接近 Terminal Plus软件包,因为它打开了终端面板,您可以通过输入python从中加载python交互式环境.

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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆