Python Development tools Atom

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.