Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can you open a Python shell in Atom editor?

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?

like image 853
multigoodverse Avatar asked Nov 14 '15 13:11

multigoodverse


1 Answers

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

like image 103
Ace.C Avatar answered Nov 03 '22 13:11

Ace.C