问题
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