Python – Can you open a Python shell in Atom editor

atom-editorpython

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?

Best Answer

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:

Screenshot of Script Package

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.

Screenshot of Terminal Plus Package