Run your python (.py) source file using F5
or F6
!
Atom is versatile and flexible text editor and has hundreds of community-made, open-source packages that can compile and run source files, for many languages. This guide will show how easy it is to code Python with the Atom editor. This guide assumes you do not have Python nor Atom installed in your system. Step 1: Installing Python. Normally, the command prompt is used to run Python programs. However, in Atom, a plugin called platformio-ide-terminal is available which can be used to execute the python files, To setup, this plugin, navigate to File-Settings click on Install tab and search for the platformio-ide-terminal plug-in and click on install. Installing Atom on Windows. Atom is available with Windows installers that can be downloaded from or from the Atom releases page.Use AtomSetup.exe for 32-bit systems and AtomSetup-x64.exe for 64-bit systems. This setup program will install Atom, add the atom and apm commands to your PATH, and create shortcuts on the desktop and in the start menu.
- Atom Text Editor (nightly or latest stable release)
- Python 2 and/or 3
- Add Python (and any other interpreters) to the
PATH
environment variable.
Run your python (.py) source file using F5
or F6
!
Atom is versatile and flexible text editor and has hundreds of community-made, open-source packages that can compile and run source files, for many languages. This guide will show how easy it is to code Python with the Atom editor. This guide assumes you do not have Python nor Atom installed in your system. Step 1: Installing Python. Normally, the command prompt is used to run Python programs. However, in Atom, a plugin called platformio-ide-terminal is available which can be used to execute the python files, To setup, this plugin, navigate to File-Settings click on Install tab and search for the platformio-ide-terminal plug-in and click on install. Installing Atom on Windows. Atom is available with Windows installers that can be downloaded from or from the Atom releases page.Use AtomSetup.exe for 32-bit systems and AtomSetup-x64.exe for 64-bit systems. This setup program will install Atom, add the atom and apm commands to your PATH, and create shortcuts on the desktop and in the start menu.
- Atom Text Editor (nightly or latest stable release)
- Python 2 and/or 3
- Add Python (and any other interpreters) to the
PATH
environment variable.
- Using
python
- Almost the same console with python IDLE, which provides syntax error and runtime error messages.
- CodeBlocks debug console style
- Shows return value and execution time
- It is a rough time based on real time rather than CPU kernel / user time
- Shows return value and execution time
Cross Platform Compatible
- Runs on Windows, Mac OS X, and Linux
True Arbitrary Execution
- Global python is the default interpreter
- Execute using any interpreter
- Pass options to the given interpreter
- Pass arguments to the program to be executed
Python 2 and 3
- Note: If you have problems executing, you can install a global version of latest
python2.7.x
(even if you havepython3.x.x
installed). Please report anypython3
issues if you want to avoid installing a globalpython2
version.
- Note: If you have problems executing, you can install a global version of latest
This project has been documented in a fair amount of detail over time. This documentation can be found in the Wiki.
Everyone should take the time to reveiw the Wiki README at the bare minimum. It details an overview on how to handle issues, use different versions, and includes links to primary sections of the Wiki.
Atom Python Debugger
Everyone should also take the time to review the Wiki section How do I use atom-python-run?. It covers everything from installation, to configuration, logging, and much more. You just might be surprised by what you can do with atom-python-run.
Codes For Using Atom For Python
You should have the basics after having covered both the README and How Do I use atom-python-run? sections. Most FAQ's can be resolved by simply reading them. The guides provided should allow us to help you with what ever issue you're facing.
NOTE: Be sure to read the Wiki and the Wiki README before reporting an issue or making a pull request. A lot of time has been put in to it to help you the user (or dev) get started and on your way.
- Before newing an issue, check to see if someone else is experiencing any related issues.
- Check to see if any issues that were closed resemble your issue and re-open it addressing that you're experiencing a similar issue.
- Provide details about your issue, such as errors and/or logs.
- Provide reproduction steps (we can't help you if we don't know how to reproduce the error!).
If you're a developer and are interested in this project you can find this repos API's in the Wiki. More specifically, you'll want to take a look at How does the cp module work? and How does the terminal.js module work? sections of the Wiki.
You can also just read the key source files
- cp (cp is written in python)
- New an issue if you have any idea of new features.
This is a package for Atom