This section reads as follows:
- About Atom
- Download Install Atom
- Installing the Python development package
- Developing Python programs using atom
About Atom
Atom is a free, very powerful editor developed by GitHub that can extend its functionality by installing packages. You can use it to develop many applications, such as Web front end, JavaScript, CSS, HTML, Python, Ruby, and so on. Original view
Download Install Atom
Atom's official website is: https://atom.io/, enter the website, download the corresponding installation file according to your system type. Atom installation is very simple, basically is the next step, a fool-type installation.
After the installation is complete, open atom and select "File", "Settings" to set it, as shown in:
Here you can set the font, font size, theme, and package you want for your editor. Alternatively, you can open KeyBindings to view the shortcut keys used.
Installing the Python development package
Download and install Atom, also need to install a package, this package can be used to run Python code between, the package name is "Atom-runner". Open the menu item "File", "Settings", click "Install", enter "Atom-runner" search, then click Install. As shown in the following:
You can also use the script package to run shortcut keys: ctrl+shift+b.
Developing Python programs using atom
Once the atom and Atom-runner packages have been installed, you can use the Atom developer program, note that Python must be installed first. Open atom to create a file that ends with a. py. Enter some simple Python code and use the shortcut key "Alt+r" to run the program, for example:
Note: Atom output Chinese, may be garbled, you can add a: pythonioencoding environment variable, the value is set to: Utf-8.
Python Development tools Atom