Installing Python and tools

Source: Internet
Author: User

install Python on Windows

First step: Download the installation package

Download the corresponding Python version from the official Python website based on the Windows version (64 or 32), this time using Python V3.5.

Download path: Https://www.python.org/ftp/python

Special attention after installation check "Add Python 3.5 to PATH"

Step Two: Check the installation results

After you install Python, Ctrl+r--cmd--python, the following conditions can occur

Situation One:

This scenario indicates that the installation was successful.

Situation Two:

Tip ' python ' is not an internal or external command, nor is it a running program or batch processing.

This is because Windows looks for python.exe based on the path set by the environment variable of the path.

Solution:

Modify the variable path in the Control Panel \ System and security \ System \ Advanced system settings \ Advanced \ Environment variables, edit the system variable after adding ";D: \python27", you can enter the Python interactive environment in command line mode, and can enter Python code execution directly.

Install Python on Linux

Most Linux systems have built-in python environments, such as Ubuntu V13.04, which are built with Python 2 and Python 32 environments, and are completely enough to be installed.

Just check the Python version below, open the terminal, enter: Python3--version

If you need to install a specific version, enter: sudo apt-get install python3.5

Using IDE Tools

so far, the tools I've used are only pycharm, which supports Windows and Macs.

: Https://www.jetbrains.com/pycharm, download Community Edition, free of charge. The pro version is paid for.

For the first time use, you can visit the following two websites to familiarize yourself with:

Http://v.youku.com/v_show/id_XODMyMzM1NzQ4.html

Https://www.jetbrains.com/pycharm/documentation

Once installed, open the file in the setting, you can set its theme, font style and so on.

Installing Python and tools

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.