Can you open a Python shell in Atom editor?

一曲冷凌霜 提交于 2019-12-09 10:05:06

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/33708758/can-you-open-a-python-shell-in-atom-editor

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!